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/whatsnew/v1.0.0.rst
+39-34
Original file line number
Diff line number
Diff line change
@@ -230,26 +230,22 @@ Other enhancements
230
230
- Added the ``na_value`` argument to :meth:`Series.to_numpy`, :meth:`Index.to_numpy` and :meth:`DataFrame.to_numpy` to control the value used for missing data (:issue:`30322`)
231
231
- :meth:`MultiIndex.from_product` infers level names from inputs if not explicitly provided (:issue:`27292`)
232
232
- :meth:`DataFrame.to_latex` now accepts ``caption`` and ``label`` arguments (:issue:`25436`)
233
-
- The :ref:`integer dtype <integer_na>` with support for missing values and the
234
-
new :ref:`string dtype <text.types>` can now be converted to ``pyarrow`` (>=
235
-
0.15.0), which means that it is supported in writing to the Parquet file
236
-
format when using the ``pyarrow`` engine. It is currently not yet supported
237
-
when converting back to pandas, so it will become an integer or float
238
-
(depending on the presence of missing data) or object dtype column. (:issue:`28368`)
233
+
- DataFrames with :ref:`nullable integer <integer_na>`, the :ref:`new string dtype <text.types>`
234
+
and period data type can now be converted to ``pyarrow`` (>=0.15.0), which means that it is
235
+
supported in writing to the Parquet file format when using the ``pyarrow`` engine (:issue:`28368`).
236
+
Full roundtrip to parquet (writing and reading back in with :meth:`~DataFrame.to_parquet` / :func:`read_parquet`)
237
+
is supported starting with pyarrow >= 0.16 (:issue:`20612`).
238
+
- :func:`to_parquet` now appropriately handles the ``schema`` argument for user defined schemas in the pyarrow engine. (:issue:`30270`)
239
239
- :meth:`DataFrame.to_json` now accepts an ``indent`` integer argument to enable pretty printing of JSON output (:issue:`12004`)
240
240
- :meth:`read_stata` can read Stata 119 dta files. (:issue:`28250`)
241
241
- Implemented :meth:`pandas.core.window.Window.var` and :meth:`pandas.core.window.Window.std` functions (:issue:`26597`)
242
242
- Added ``encoding`` argument to :meth:`DataFrame.to_string` for non-ascii text (:issue:`28766`)
243
243
- Added ``encoding`` argument to :func:`DataFrame.to_html` for non-ascii text (:issue:`28663`)
244
244
- :meth:`Styler.background_gradient` now accepts ``vmin`` and ``vmax`` arguments (:issue:`12145`)
245
245
- :meth:`Styler.format` added the ``na_rep`` parameter to help format the missing values (:issue:`21527`, :issue:`28358`)
246
-
- Roundtripping DataFrames with nullable integer, string and period data types to parquet
247
-
(:meth:`~DataFrame.to_parquet` / :func:`read_parquet`) using the `'pyarrow'` engine
248
-
now preserve those data types with pyarrow >= 1.0.0 (:issue:`20612`).
249
246
- :func:`read_excel` now can read binary Excel (``.xlsb``) files by passing ``engine='pyxlsb'``. For more details and example usage, see the :ref:`Binary Excel files documentation <io.xlsb>`. Closes :issue:`8540`.
250
247
- The ``partition_cols`` argument in :meth:`DataFrame.to_parquet` now accepts a string (:issue:`27117`)
251
248
- :func:`pandas.read_json` now parses ``NaN``, ``Infinity`` and ``-Infinity`` (:issue:`12213`)
252
-
- :func:`to_parquet` now appropriately handles the ``schema`` argument for user defined schemas in the pyarrow engine. (:issue:`30270`)
253
249
- DataFrame constructor preserve `ExtensionArray` dtype with `ExtensionArray` (:issue:`11363`)
254
250
- :meth:`DataFrame.sort_values` and :meth:`Series.sort_values` have gained ``ignore_index`` keyword to be able to reset index after sorting (:issue:`30114`)
255
251
- :meth:`DataFrame.sort_index` and :meth:`Series.sort_index` have gained ``ignore_index`` keyword to reset index (:issue:`30114`)
@@ -312,7 +308,7 @@ To update, use ``MultiIndex.set_names``, which returns a new ``MultiIndex``.
312
308
New repr for :class:`~pandas.arrays.IntervalArray`
- :meth:`DataFrame.info` now shows line numbers for the columns summary (:issue:`17304`)
407
+
:meth:`DataFrame.info` now shows line numbers for the columns summary (:issue:`17304`)
402
408
403
409
*pandas 0.25.x*
404
410
@@ -700,13 +706,12 @@ See :ref:`install.dependencies` and :ref:`install.optional_dependencies` for mor
700
706
Other API changes
701
707
^^^^^^^^^^^^^^^^^
702
708
703
-
- Bumped the minimum supported version of ``s3fs`` from 0.0.8 to 0.3.0 (:issue:`28616`)
704
709
- :class:`core.groupby.GroupBy.transform` now raises on invalid operation names (:issue:`27489`)
705
710
- :meth:`pandas.api.types.infer_dtype` will now return "integer-na" for integer and ``np.nan`` mix (:issue:`27283`)
706
711
- :meth:`MultiIndex.from_arrays` will no longer infer names from arrays if ``names=None`` is explicitly provided (:issue:`27292`)
707
712
- In order to improve tab-completion, Pandas does not include most deprecated attributes when introspecting a pandas object using ``dir`` (e.g. ``dir(df)``).
708
713
To see which attributes are excluded, see an object's ``_deprecations`` attribute, for example ``pd.DataFrame._deprecations`` (:issue:`28805`).
709
-
- The returned dtype of ::func:`pd.unique` now matches the input dtype. (:issue:`27874`)
714
+
- The returned dtype of :func:`unique` now matches the input dtype. (:issue:`27874`)
710
715
- Changed the default configuration value for ``options.matplotlib.register_converters`` from ``True`` to ``"auto"`` (:issue:`18720`).
711
716
Now, pandas custom formatters will only be applied to plots created by pandas, through :meth:`~DataFrame.plot`.
712
717
Previously, pandas' formatters would be applied to all plots created *after* a :meth:`~DataFrame.plot`.
0 commit comments