Skip to content

Commit e6ee504

Browse files
committed
Add io.rst page with Input and Output API references
1 parent f1db9e8 commit e6ee504

File tree

2 files changed

+77
-0
lines changed

2 files changed

+77
-0
lines changed

doc/reference/io.rst

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
.. currentmodule:: dpnp
2+
3+
Input and output
4+
================
5+
6+
.. hint:: `NumPy API Reference: Input and output <https://numpy.org/doc/stable/reference/routines.io.html>`_
7+
8+
.. NumPy binary files (npy, npz)
9+
.. -----------------------------
10+
.. .. autosummary::
11+
.. :toctree: generated/
12+
.. :nosignatures:
13+
14+
.. load
15+
.. save
16+
.. savez
17+
.. savez_compressed
18+
.. lib.npyio.NpzFile
19+
20+
.. The format of these binary file types is documented in
21+
.. :py:mod:`numpy.lib.format`
22+
23+
Text files
24+
----------
25+
.. autosummary::
26+
:toctree: generated/
27+
:nosignatures:
28+
29+
loadtxt
30+
savetxt
31+
genfromtxt
32+
fromregex
33+
fromstring
34+
ndarray.tofile
35+
ndarray.tolist
36+
37+
Raw binary files
38+
----------------
39+
40+
.. autosummary::
41+
:toctree: generated/
42+
:nosignatures:
43+
44+
fromfile
45+
ndarray.tofile
46+
47+
.. String formatting
48+
.. -----------------
49+
.. .. autosummary::
50+
.. :toctree: generated/
51+
.. :nosignatures:
52+
53+
.. array2string
54+
.. array_repr
55+
.. array_str
56+
.. format_float_positional
57+
.. format_float_scientific
58+
59+
.. Text formatting options
60+
.. -----------------------
61+
.. .. autosummary::
62+
.. :toctree: generated/
63+
.. :nosignatures:
64+
65+
.. set_printoptions
66+
.. get_printoptions
67+
.. printoptions
68+
69+
Base-n representations
70+
----------------------
71+
.. autosummary::
72+
:toctree: generated/
73+
:nosignatures:
74+
75+
binary_repr
76+
base_repr

doc/reference/routines.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ These functions cover a subset of
1818
exceptions
1919
fft
2020
functional
21+
io
2122
indexing
2223
linalg
2324
logic

0 commit comments

Comments
 (0)