Skip to content

Commit 378fcef

Browse files
authored
DOC: Cleanup 1.5 whatsnew (#48197)
1 parent 0402367 commit 378fcef

File tree

1 file changed

+71
-17
lines changed

1 file changed

+71
-17
lines changed

doc/source/whatsnew/v1.5.0.rst

+71-17
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,6 @@ from_dummies
154154

155155
Added new function :func:`~pandas.from_dummies` to convert a dummy coded :class:`DataFrame` into a categorical :class:`DataFrame`.
156156

157-
Example::
158-
159157
.. ipython:: python
160158
161159
import pandas as pd
@@ -308,7 +306,7 @@ Other enhancements
308306
- :meth:`DataFrame.rolling` and :meth:`Series.rolling` now support a ``step`` parameter with fixed-length windows (:issue:`15354`)
309307
- Implemented a ``bool``-dtype :class:`Index`, passing a bool-dtype array-like to ``pd.Index`` will now retain ``bool`` dtype instead of casting to ``object`` (:issue:`45061`)
310308
- Implemented a complex-dtype :class:`Index`, passing a complex-dtype array-like to ``pd.Index`` will now retain complex dtype instead of casting to ``object`` (:issue:`45845`)
311-
- :class:`Series` and :class:`DataFrame` with ``IntegerDtype`` now supports bitwise operations (:issue:`34463`)
309+
- :class:`Series` and :class:`DataFrame` with :class:`IntegerDtype` now supports bitwise operations (:issue:`34463`)
312310
- Add ``milliseconds`` field support for :class:`.DateOffset` (:issue:`43371`)
313311
- :meth:`DataFrame.reset_index` now accepts a ``names`` argument which renames the index names (:issue:`6878`)
314312
- :func:`concat` now raises when ``levels`` is given but ``keys`` is None (:issue:`46653`)
@@ -319,7 +317,7 @@ Other enhancements
319317
- A :class:`errors.PerformanceWarning` is now thrown when using ``string[pyarrow]`` dtype with methods that don't dispatch to ``pyarrow.compute`` methods (:issue:`42613`)
320318
- Added ``numeric_only`` argument to :meth:`Resampler.sum`, :meth:`Resampler.prod`, :meth:`Resampler.min`, :meth:`Resampler.max`, :meth:`Resampler.first`, and :meth:`Resampler.last` (:issue:`46442`)
321319
- ``times`` argument in :class:`.ExponentialMovingWindow` now accepts ``np.timedelta64`` (:issue:`47003`)
322-
- :class:`.DataError`, :class:`.SpecificationError`, :class:`.SettingWithCopyError`, :class:`.SettingWithCopyWarning`, :class:`.NumExprClobberingError`, :class:`.UndefinedVariableError`, :class:`.IndexingError`, :class:`.PyperclipException`, :class:`.PyperclipWindowsException`, :class:`.CSSWarning`, :class:`.PossibleDataLossError`, :class:`.ClosedFileError`, :class:`.IncompatibilityWarning`, :class:`.AttributeConflictWarning`, :class:`.DatabaseError, :class:`.PossiblePrecisionLoss, :class:`.ValueLabelTypeMismatch, :class:`.InvalidColumnName, and :class:`.CategoricalConversionWarning` are now exposed in ``pandas.errors`` (:issue:`27656`)
320+
- :class:`.DataError`, :class:`.SpecificationError`, :class:`.SettingWithCopyError`, :class:`.SettingWithCopyWarning`, :class:`.NumExprClobberingError`, :class:`.UndefinedVariableError`, :class:`.IndexingError`, :class:`.PyperclipException`, :class:`.PyperclipWindowsException`, :class:`.CSSWarning`, :class:`.PossibleDataLossError`, :class:`.ClosedFileError`, :class:`.IncompatibilityWarning`, :class:`.AttributeConflictWarning`, :class:`.DatabaseError`, :class:`.PossiblePrecisionLoss`, :class:`.ValueLabelTypeMismatch`, :class:`.InvalidColumnName`, and :class:`.CategoricalConversionWarning` are now exposed in ``pandas.errors`` (:issue:`27656`)
323321
- Added ``check_like`` argument to :func:`testing.assert_series_equal` (:issue:`47247`)
324322
- Add support for :meth:`.GroupBy.ohlc` for extension array dtypes (:issue:`37493`)
325323
- Allow reading compressed SAS files with :func:`read_sas` (e.g., ``.sas7bdat.gz`` files)
@@ -491,16 +489,6 @@ Calling :meth:`.DataFrameGroupBy.value_counts` with ``observed=True`` would inco
491489
Backwards incompatible API changes
492490
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
493491

494-
.. _whatsnew_150.api_breaking.api_breaking1:
495-
496-
api_breaking_change1
497-
^^^^^^^^^^^^^^^^^^^^
498-
499-
.. _whatsnew_150.api_breaking.api_breaking2:
500-
501-
api_breaking_change2
502-
^^^^^^^^^^^^^^^^^^^^
503-
504492
.. _whatsnew_150.api_breaking.deps:
505493

506494
Increased minimum versions for dependencies
@@ -567,7 +555,73 @@ Optional libraries below the lowest tested version may still work, but are not c
567555
+-----------------+-----------------+---------+
568556
| Package | Minimum Version | Changed |
569557
+=================+=================+=========+
570-
| | | X |
558+
| beautifulsoup4 |4.9.3 | X |
559+
+-----------------+-----------------+---------+
560+
| blosc |1.21.0 | X |
561+
+-----------------+-----------------+---------+
562+
| bottleneck |1.3.2 | X |
563+
+-----------------+-----------------+---------+
564+
| brotlipy |0.7.0 | |
565+
+-----------------+-----------------+---------+
566+
| fastparquet |0.4.0 | |
567+
+-----------------+-----------------+---------+
568+
| fsspec |2021.05.0 | X |
569+
+-----------------+-----------------+---------+
570+
| html5lib |1.1 | |
571+
+-----------------+-----------------+---------+
572+
| hypothesis |6.13.0 | X |
573+
+-----------------+-----------------+---------+
574+
| gcsfs |2021.05.0 | X |
575+
+-----------------+-----------------+---------+
576+
| jinja2 |3.0.0 | X |
577+
+-----------------+-----------------+---------+
578+
| lxml |4.6.3 | X |
579+
+-----------------+-----------------+---------+
580+
| matplotlib |3.3.2 | |
581+
+-----------------+-----------------+---------+
582+
| numba |0.53.1 | X |
583+
+-----------------+-----------------+---------+
584+
| numexpr |2.7.3 | X |
585+
+-----------------+-----------------+---------+
586+
| odfpy |1.4.1 | |
587+
+-----------------+-----------------+---------+
588+
| openpyxl |3.0.7 | X |
589+
+-----------------+-----------------+---------+
590+
| pandas-gbq |0.15.0 | X |
591+
+-----------------+-----------------+---------+
592+
| psycopg2 |2.8.6 | X |
593+
+-----------------+-----------------+---------+
594+
| pyarrow |1.0.1 | |
595+
+-----------------+-----------------+---------+
596+
| pymysql |1.0.2 | X |
597+
+-----------------+-----------------+---------+
598+
| pyreadstat |1.1.2 | X |
599+
+-----------------+-----------------+---------+
600+
| pytables |3.6.1 | |
601+
+-----------------+-----------------+---------+
602+
| python-snappy |0.6.0 | |
603+
+-----------------+-----------------+---------+
604+
| pyxlsb |1.0.8 | X |
605+
+-----------------+-----------------+---------+
606+
| s3fs |2021.05.0 | X |
607+
+-----------------+-----------------+---------+
608+
| scipy |1.7.1 | X |
609+
+-----------------+-----------------+---------+
610+
| sqlalchemy |1.4.16 | X |
611+
+-----------------+-----------------+---------+
612+
| tabulate |0.8.9 | X |
613+
+-----------------+-----------------+---------+
614+
| tzdata |2022a | |
615+
+-----------------+-----------------+---------+
616+
| xarray |0.19.0 | X |
617+
+-----------------+-----------------+---------+
618+
| xlrd |2.0.1 | |
619+
+-----------------+-----------------+---------+
620+
| xlsxwriter |1.4.3 | X |
621+
+-----------------+-----------------+---------+
622+
| xlwt |1.3.0 | |
623+
+-----------------+-----------------+---------+
624+
| zstandard |0.15.2 | |
571625
+-----------------+-----------------+---------+
572626

573627
See :ref:`install.dependencies` and :ref:`install.optional_dependencies` for more.
@@ -703,7 +757,7 @@ retained by specifying ``group_keys=False``.
703757

704758
Inplace operation when setting values with ``loc`` and ``iloc``
705759
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
706-
Most of the time setting values with ``frame.iloc`` attempts to set values
760+
Most of the time setting values with :meth:`DataFrame.iloc` attempts to set values
707761
inplace, only falling back to inserting a new array if necessary. There are
708762
some cases where this rule is not followed, for example when setting an entire
709763
column from an array with different dtype:
@@ -924,7 +978,7 @@ Categorical
924978
^^^^^^^^^^^
925979
- Bug in :meth:`.Categorical.view` not accepting integer dtypes (:issue:`25464`)
926980
- Bug in :meth:`.CategoricalIndex.union` when the index's categories are integer-dtype and the index contains ``NaN`` values incorrectly raising instead of casting to ``float64`` (:issue:`45362`)
927-
- Bug in :meth:`DataFrame.concat` when concatenating two (or more) unordered ``CategoricalIndex`` variables, whose categories are permutations, yields incorrect index values (:issue:`24845`)
981+
- Bug in :meth:`concat` when concatenating two (or more) unordered :class:`CategoricalIndex` variables, whose categories are permutations, yields incorrect index values (:issue:`24845`)
928982

929983
Datetimelike
930984
^^^^^^^^^^^^

0 commit comments

Comments
 (0)