You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/source/user_guide/io.rst
+7-3Lines changed: 7 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2066,6 +2066,8 @@ The Numpy parameter
2066
2066
+++++++++++++++++++
2067
2067
2068
2068
.. note::
2069
+
This param has been deprecated as of version 1.0.0 and will raise a ``FutureWarning``.
2070
+
2069
2071
This supports numeric data only. Index and columns labels may be non-numeric, e.g. strings, dates etc.
2070
2072
2071
2073
If ``numpy=True`` is passed to ``read_json`` an attempt will be made to sniff
@@ -2088,6 +2090,7 @@ data:
2088
2090
%timeit pd.read_json(jsonfloats)
2089
2091
2090
2092
.. ipython:: python
2093
+
:okwarning:
2091
2094
2092
2095
%timeit pd.read_json(jsonfloats, numpy=True)
2093
2096
@@ -2102,6 +2105,7 @@ The speedup is less noticeable for smaller datasets:
2102
2105
%timeit pd.read_json(jsonfloats)
2103
2106
2104
2107
.. ipython:: python
2108
+
:okwarning:
2105
2109
2106
2110
%timeit pd.read_json(jsonfloats, numpy=True)
2107
2111
@@ -4648,10 +4652,10 @@ Several caveats.
4648
4652
* Index level names, if specified, must be strings.
4649
4653
* In the ``pyarrow`` engine, categorical dtypes for non-string types can be serialized to parquet, but will de-serialize as their primitive dtype.
4650
4654
* The ``pyarrow`` engine preserves the ``ordered`` flag of categorical dtypes with string types. ``fastparquet`` does not preserve the ``ordered`` flag.
4651
-
* Non supported types include ``Period`` and actual Python object types. These will raise a helpful error message
4652
-
on an attempt at serialization.
4655
+
* Non supported types include ``Interval`` and actual Python object types. These will raise a helpful error message
4656
+
on an attempt at serialization. ``Period`` type is supported with pyarrow >= 0.16.0.
4653
4657
* The ``pyarrow`` engine preserves extension data types such as the nullable integer and string data
4654
-
type (requiring pyarrow >= 1.0.0, and requiring the extension type to implement the needed protocols,
4658
+
type (requiring pyarrow >= 0.16.0, and requiring the extension type to implement the needed protocols,
4655
4659
see the :ref:`extension types documentation <extending.extension.arrow>`).
4656
4660
4657
4661
You can specify an ``engine`` to direct the serialization. This can be one of ``pyarrow``, or ``fastparquet``, or ``auto``.
0 commit comments