@@ -204,8 +204,8 @@ def data_kind(
204
204
r"""
205
205
Check the kind of data that is provided to a module.
206
206
207
- The argument passed to the ``data`` parameter can have any data type. The
208
- following data kinds are recognized and returned as ``kind``:
207
+ The argument passed to the ``data`` parameter can have any data type. The following
208
+ data kinds are recognized and returned as ``kind``:
209
209
210
210
- ``"arg"``: ``data`` is ``None`` and ``required=False``, or bool, int, float,
211
211
representing an optional argument, used for dealing with optional virtual files
@@ -222,7 +222,7 @@ def data_kind(
222
222
(e.g., :class:`numpy.ndarray`)
223
223
- ``"vectors"``: any unrecognized data. Common data types include, a
224
224
:class:`pandas.DataFrame` object, a dictionary with array-like values, a 1-D/3-D
225
- :class:`numpy.ndarray` object, or array-like objects.
225
+ :class:`numpy.ndarray` object, or array-like objects
226
226
227
227
Parameters
228
228
----------
@@ -280,12 +280,12 @@ def data_kind(
280
280
>>> data_kind(data=xr.DataArray(np.random.rand(3, 4, 5))) # 3-D xarray.DataArray
281
281
'image'
282
282
283
- The "stringio"`` kind:
283
+ The "stringio" kind:
284
284
285
285
>>> data_kind(data=io.StringIO("TEXT1\nTEXT23\n"))
286
286
'stringio'
287
287
288
- The "matrix"`` kind:
288
+ The "matrix" kind:
289
289
290
290
>>> data_kind(data=np.arange(10).reshape((5, 2))) # 2-D numpy.ndarray
291
291
'matrix'
0 commit comments