@@ -117,8 +117,8 @@ Data type encoding
117
117
~~~~~~~~~~~~~~~~~~
118
118
119
119
Simple data types are encoded within the array metadata as a string,
120
- following the `NumPy array protocol type string (typestr) format
121
- <http://docs.scipy.org/doc/ numpy/reference/ arrays.interface.html> `_ . The format
120
+ following the :ref: `NumPy array protocol type string (typestr) format
121
+ <numpy: arrays.interface>` . The format
122
122
consists of 3 parts:
123
123
124
124
* One character describing the byteorder of the data (``"<" ``: little-endian;
@@ -136,14 +136,14 @@ The byte order MUST be specified. E.g., ``"<f8"``, ``">i4"``, ``"|b1"`` and
136
136
137
137
For datetime64 ("M") and timedelta64 ("m") data types, these MUST also include the
138
138
units within square brackets. A list of valid units and their definitions are given in
139
- the `NumPy documentation on Datetimes and Timedeltas
140
- <https://docs.scipy.org/doc/ numpy/reference/ arrays.datetime.html#datetime-units> `_ .
139
+ the :ref: `NumPy documentation on Datetimes and Timedeltas
140
+ <numpy: arrays.dtypes.dateunits>` .
141
141
For example, ``"<M8[ns]" `` specifies a datetime64 data type with nanosecond time units.
142
142
143
143
Structured data types (i.e., with multiple named fields) are encoded
144
- as a list of lists, following `NumPy array protocol type descriptions
144
+ as a list of lists, following :ref: `NumPy array protocol type descriptions
145
145
(descr)
146
- <http://docs.scipy.org/doc/ numpy/reference/ arrays.interface.html#> `_ . Each
146
+ <numpy: arrays.interface>` . Each
147
147
sub-list has the form ``[fieldname, datatype, shape] `` where ``shape ``
148
148
is optional. ``fieldname `` is a string, ``datatype `` is a string
149
149
specifying a simple data type (see above), and ``shape `` is a list of
0 commit comments