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
Currently pandas only supports *reading* binary Excel files. Writing
3254
+
is not implemented.
3255
+
3256
+
3232
3257
.. _io.clipboard:
3233
3258
3234
3259
Clipboard
@@ -4220,46 +4245,49 @@ Compression
4220
4245
all kinds of stores, not just tables. Two parameters are used to
4221
4246
control compression: ``complevel`` and ``complib``.
4222
4247
4223
-
``complevel`` specifies if and how hard data is to be compressed.
4224
-
``complevel=0`` and ``complevel=None`` disables
4225
-
compression and ``0<complevel<10`` enables compression.
4226
-
4227
-
``complib`` specifies which compression library to use. If nothing is
4228
-
specified the default library ``zlib`` is used. A
4229
-
compression library usually optimizes for either good
4230
-
compression rates or speed and the results will depend on
4231
-
the type of data. Which type of
4232
-
compression to choose depends on your specific needs and
4233
-
data. The list of supported compression libraries:
4234
-
4235
-
- `zlib <https://zlib.net/>`_: The default compression library. A classic in terms of compression, achieves good compression rates but is somewhat slow.
4236
-
- `lzo <https://www.oberhumer.com/opensource/lzo/>`_: Fast compression and decompression.
4237
-
- `bzip2 <http://bzip.org/>`_: Good compression rates.
4238
-
- `blosc <http://www.blosc.org/>`_: Fast compression and decompression.
4239
-
4240
-
Support for alternative blosc compressors:
4241
-
4242
-
- `blosc:blosclz <http://www.blosc.org/>`_ This is the
Copy file name to clipboardExpand all lines: doc/source/user_guide/timeseries.rst
+5
Original file line number
Diff line number
Diff line change
@@ -1951,6 +1951,10 @@ The ``period`` dtype can be used in ``.astype(...)``. It allows one to change th
1951
1951
PeriodIndex partial string indexing
1952
1952
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1953
1953
1954
+
PeriodIndex now supports partial string slicing with non-monotonic indexes.
1955
+
1956
+
.. versionadded:: 1.1.0
1957
+
1954
1958
You can pass in dates and strings to ``Series`` and ``DataFrame`` with ``PeriodIndex``, in the same manner as ``DatetimeIndex``. For details, refer to :ref:`DatetimeIndex Partial String Indexing <timeseries.partialindexing>`.
1955
1959
1956
1960
.. ipython:: python
@@ -1981,6 +1985,7 @@ As with ``DatetimeIndex``, the endpoints will be included in the result. The exa
1981
1985
1982
1986
dfp['2013-01-01 10H':'2013-01-01 11H']
1983
1987
1988
+
1984
1989
Frequency conversion and resampling with PeriodIndex
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v1.0.0.rst
+2-1
Original file line number
Diff line number
Diff line change
@@ -215,7 +215,8 @@ Other enhancements
215
215
- :meth:`Styler.format` added the ``na_rep`` parameter to help format the missing values (:issue:`21527`, :issue:`28358`)
216
216
- Roundtripping DataFrames with nullable integer, string and period data types to parquet
217
217
(:meth:`~DataFrame.to_parquet` / :func:`read_parquet`) using the `'pyarrow'` engine
218
-
now preserve those data types with pyarrow >= 0.16.0 (:issue:`20612`, :issue:`28371`).
218
+
now preserve those data types with pyarrow >= 1.0.0 (:issue:`20612`).
219
+
- :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`.
219
220
- The ``partition_cols`` argument in :meth:`DataFrame.to_parquet` now accepts a string (:issue:`27117`)
220
221
- :func:`pandas.read_json` now parses ``NaN``, ``Infinity`` and ``-Infinity`` (:issue:`12213`)
221
222
- :func:`to_parquet` now appropriately handles the ``schema`` argument for user defined schemas in the pyarrow engine. (:issue:`30270`)
- Bug in :meth:`GroupBy.apply` raises ``ValueError`` when the ``by`` axis is not sorted and has duplicates and the applied ``func`` does not mutate passed in objects (:issue:`30667`)
139
170
140
171
Reshaping
141
172
^^^^^^^^^
142
173
143
174
-
144
175
- Bug in :meth:`DataFrame.pivot_table` when only MultiIndexed columns is set (:issue:`17038`)
176
+
- Bug in :meth:`DataFrame.unstack` and :meth:`Series.unstack` can take tuple names in MultiIndexed data (:issue:`19966`)
177
+
- Bug in :meth:`DataFrame.pivot_table` when ``margin`` is ``True`` and only ``column`` is defined (:issue:`31016`)
145
178
- Fix incorrect error message in :meth:`DataFrame.pivot` when ``columns`` is set to ``None``. (:issue:`30924`)
146
179
- Bug in :func:`crosstab` when inputs are two Series and have tuple names, the output will keep dummy MultiIndex as columns. (:issue:`18321`)
147
-
180
+
- Bug in :func:`concat` where the resulting indices are not copied when ``copy=True`` (:issue:`29879`)
148
181
149
182
Sparse
150
183
^^^^^^
@@ -161,7 +194,8 @@ ExtensionArray
161
194
162
195
Other
163
196
^^^^^
164
-
-
197
+
- Appending a dictionary to a :class:`DataFrame` without passing ``ignore_index=True`` will raise ``TypeError: Can only append a dict if ignore_index=True``
198
+
instead of ``TypeError: Can only append a Series if ignore_index=True or if the Series has a name`` (:issue:`30871`)
0 commit comments