diff --git a/doc/source/user/how-to-io.rst b/doc/source/user/how-to-io.rst index ca9fc41f07f8..38f269f3b0c0 100644 --- a/doc/source/user/how-to-io.rst +++ b/doc/source/user/how-to-io.rst @@ -7,6 +7,7 @@ Reading and writing files This page tackles common applications; for the full collection of I/O routines, see :ref:`routines.io`. +.. image:: np_how-to-io_flowchart.svg ****************************************************************************** Reading text and CSV_ files diff --git a/doc/source/user/np_how-to-io_flowchart.svg b/doc/source/user/np_how-to-io_flowchart.svg new file mode 100644 index 000000000000..c395d22d1bb5 --- /dev/null +++ b/doc/source/user/np_how-to-io_flowchart.svg @@ -0,0 +1,3 @@ + + +
With no missing values
With no missing values
With missing Values
With missing Values
Use numpy.loadtext
Use numpy.loadtext
Use numpy.load
Use numpy.load
Use numpy.genfromtxt
Use numpy.genfromtxt
Use memory mapping
Use memory mapping
Human Readable
Human Readable
Use numpy.save, numpy.savez, or numpy.savez_compressed
Use numpy.save, numpy.savez...
Binary
Binary
Use numpy.savetxt
Use numpy.savetxt
Use a structured array
Use a structured a...
Raw array data written with numpy.ndarray.tofile or numpy.ndarray.tobytes
Raw array data written with numpy.ndarray.tofile or numpy.ndarray.tobytes
Files output by numpy.save
Files output by numpy.save
Use numpy.memap
Use numpy.memap
Use numpy.load
Use numpy.load
Formats for exchanging data with other tools include HDF5, Zarr, and NetCDF
Formats for exchanging data w...
NumPy files are not directly JSON serializable
NumPy files are not...
Use numpy.save and numpy.load.
Set allow_pickle=False, unless the array dtype includes Python Objects, in which case pickling is required
Use numpy.save and numpy.load....
Use pandas.dataframe.to_numpy
Use pandas.dataframe.to_n...
Use numpy.save and numpy.load
Use numpy.save a...
Reading text and CSV Files
Reading text and...
Read a file in .npy or .npz format
Read a file in ....
Write to a file to be read back by numpy
Write to a file...
Read an arbitrarily formed binary file ("binary blob")
Read an arbitrar...
Write or read large arrays
Write or read la...
Write files for reading by other (non-NumPy) tools
Write files for readi...
Read or write a
JSON file
Read or write a...
Save/restore using a pickle file
Save/restore usi...
Convert a Pandas DataFrame to a NumPy array
Convert a Pandas...
Save/restore using tofile and fromfile
Save/restore usi...
Reading and Writing Files
Reading and Writ...
Viewer does not support full SVG 1.1
\ No newline at end of file