Skip to content

Latest commit

 

History

History
193 lines (126 loc) · 3.04 KB

v1.2.0.rst

File metadata and controls

193 lines (126 loc) · 3.04 KB

What's new in 1.2.0 (??)

These are the changes in pandas 1.2.0. See :ref:`release` for a full changelog including other versions of pandas.

{{ header }}

Enhancements

Support for binary file handles in to_csv

:meth:`to_csv` supports file handles in binary mode (:issue:`19827` and :issue:`35058`) with encoding (:issue:`13068` and :issue:`23854`) and compression (:issue:`22555`). mode has to contain a b for binary handles to be supported.

For example:

.. ipython:: python

   import io

   data = pd.DataFrame([0, 1, 2])
   buffer = io.BytesIO()
   data.to_csv(buffer, mode="w+b", encoding="utf-8", compression="gzip")

Other enhancements

Deprecations

Performance improvements

Bug fixes

Categorical

Datetimelike

Timedelta

Timezones

Numeric

Conversion

Strings

Interval

Indexing

Missing

MultiIndex

I/O

Plotting

Groupby/resample/rolling

<<<<<<< HEAD - Bug when combining methods :meth:`DataFrame.groupby` with :meth:`DataFrame.resample` and :meth:`DataFrame.interpolate` raising an TypeError (:issue:`35325`) ======= - Bug in :meth:`DataFrameGroupBy.apply` that would some times throw an erroneous ValueError if the grouping axis had duplicate entries (:issue:`16646`) - -

>>>>>>> master

Reshaping

Sparse

ExtensionArray

Other

Contributors