Skip to content

Commit c94f602

Browse files
more fixups (#35329)
1 parent cbcddbc commit c94f602

File tree

1 file changed

+17
-18
lines changed

1 file changed

+17
-18
lines changed

Diff for: doc/source/whatsnew/v1.1.0.rst

+17-18
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,8 @@ change, as ``fsspec`` will still bring in the same packages as before.
274274
Other enhancements
275275
^^^^^^^^^^^^^^^^^^
276276

277+
- :meth:`IntegerArray.astype` now supports ``datetime64`` dtype (:issue:`32538`)
278+
- :class:`IntegerArray` now implements the ``sum`` operation (:issue:`33172`)
277279
- Added :class:`pandas.errors.InvalidIndexError` (:issue:`34570`).
278280
- Added :meth:`DataFrame.value_counts` (:issue:`5377`)
279281
- Added a :func:`pandas.api.indexers.FixedForwardWindowIndexer` class to support forward-looking windows during ``rolling`` operations.
@@ -919,6 +921,9 @@ Datetimelike
919921
- The ``freq`` keyword in :class:`Period`, :func:`date_range`, :func:`period_range`, :func:`pd.tseries.frequencies.to_offset` no longer allows tuples, pass as string instead (:issue:`34703`)
920922
- Bug in :meth:`DataFrame.append` when appending a :class:`Series` containing a scalar tz-aware :class:`Timestamp` to an empty :class:`DataFrame` resulted in an object column instead of datetime64[ns, tz] dtype (:issue:`35038`)
921923
- ``OutOfBoundsDatetime`` issues an improved error message when timestamp is out of implementation bounds. (:issue:`32967`)
924+
- Bug in :meth:`AbstractHolidayCalendar.holidays` when no rules were defined (:issue:`31415`)
925+
- Bug in :class:`Tick` comparisons raising ``TypeError`` when comparing against timedelta-like objects (:issue:`34088`)
926+
- Bug in :class:`Tick` multiplication raising ``TypeError`` when multiplying by a float (:issue:`34486`)
922927

923928
Timedelta
924929
^^^^^^^^^
@@ -937,7 +942,6 @@ Timezones
937942
^^^^^^^^^
938943

939944
- Bug in :func:`to_datetime` with ``infer_datetime_format=True`` where timezone names (e.g. ``UTC``) would not be parsed correctly (:issue:`33133`)
940-
-
941945

942946

943947
Numeric
@@ -953,12 +957,17 @@ Numeric
953957
- Bug in :class:`DataFrame` and :class:`Series` addition and subtraction between object-dtype objects and ``datetime64`` dtype objects (:issue:`33824`)
954958
- Bug in :meth:`Index.difference` incorrect results when comparing a :class:`Float64Index` and object :class:`Index` (:issue:`35217`)
955959
- Bug in :class:`DataFrame` reductions (e.g. ``df.min()``, ``df.max()``) with ``ExtensionArray`` dtypes (:issue:`34520`, :issue:`32651`)
960+
- :meth:`Series.interpolate` and :meth:`DataFrame.interpolate` now raises ValueError if ``limit_direction`` is 'forward' or 'both' and ``method`` is 'backfill' or 'bfill' or ``limit_direction`` is 'backward' or 'both' and ``method`` is 'pad' or 'ffill' (:issue:`34746`)
956961

957962
Conversion
958963
^^^^^^^^^^
959964
- Bug in :class:`Series` construction from NumPy array with big-endian ``datetime64`` dtype (:issue:`29684`)
960965
- Bug in :class:`Timedelta` construction with large nanoseconds keyword value (:issue:`32402`)
961966
- Bug in :class:`DataFrame` construction where sets would be duplicated rather than raising (:issue:`32582`)
967+
- The :class:`DataFrame` constructor no longer accepts a list of ``DataFrame`` objects. Because of changes to NumPy, ``DataFrame`` objects are now consistently treated as 2D objects, so a list of ``DataFrames`` is considered 3D, and no longer acceptible for the ``DataFrame`` constructor (:issue:`32289`).
968+
- Bug in :class:`DataFrame` when initiating a frame with lists and assign ``columns`` with nested list for ``MultiIndex`` (:issue:`32173`)
969+
- Improved error message for invalid construction of list when creating a new index (:issue:`35190`)
970+
962971

963972
Strings
964973
^^^^^^^
@@ -1016,6 +1025,7 @@ Missing
10161025
- :meth:`DataFrame.interpolate` uses the correct axis convention now. Previously interpolating along columns lead to interpolation along indices and vice versa. Furthermore interpolating with methods ``pad``, ``ffill``, ``bfill`` and ``backfill`` are identical to using these methods with :meth:`fillna` (:issue:`12918`, :issue:`29146`)
10171026
- Bug in :meth:`DataFrame.interpolate` when called on a DataFrame with column names of string type was throwing a ValueError. The method is no independing of the type of column names (:issue:`33956`)
10181027
- passing :class:`NA` will into a format string using format specs will now work. For example ``"{:.1f}".format(pd.NA)`` would previously raise a ``ValueError``, but will now return the string ``"<NA>"`` (:issue:`34740`)
1028+
- Bug in :meth:`Series.map` not raising on invalid ``na_action`` (:issue:`32815`)
10191029

10201030
MultiIndex
10211031
^^^^^^^^^^
@@ -1044,6 +1054,7 @@ MultiIndex
10441054

10451055
I/O
10461056
^^^
1057+
- Passing a `set` as `names` argument to :func:`pandas.read_csv`, :func:`pandas.read_table`, or :func:`pandas.read_fwf` will raise ``ValueError: Names should be an ordered collection.`` (:issue:`34946`)
10471058
- Bug in print-out when ``display.precision`` is zero. (:issue:`20359`)
10481059
- Bug in :meth:`read_json` where integer overflow was occurring when json contains big number strings. (:issue:`30320`)
10491060
- `read_csv` will now raise a ``ValueError`` when the arguments `header` and `prefix` both are not `None`. (:issue:`27394`)
@@ -1084,6 +1095,7 @@ I/O
10841095
- Bug in :meth:`read_excel` that was raising a ``TypeError`` when ``header=None`` and ``index_col`` given as list (:issue:`31783`)
10851096
- Bug in :meth:`read_excel` where datetime values are used in the header in a `MultiIndex` (:issue:`34748`)
10861097
- :func:`read_excel` no longer takes ``**kwds`` arguments. This means that passing in keyword ``chunksize`` now raises a ``TypeError`` (previously raised a ``NotImplementedError``), while passing in keyword ``encoding`` now raises a ``TypeError`` (:issue:`34464`)
1098+
- Bug in :meth:`DataFrame.to_records` incorrectly losing timezone information in timezone-aware ``datetime64`` columns (:issue:`32535`)
10871099

10881100
Plotting
10891101
^^^^^^^^
@@ -1095,6 +1107,7 @@ Plotting
10951107
- Bug in :meth:`DataFrame.plot.scatter` that when adding multiple plots with different ``cmap``, colorbars alway use the first ``cmap`` (:issue:`33389`)
10961108
- Bug in :meth:`DataFrame.plot.scatter` was adding a colorbar to the plot even if the argument `c` was assigned to a column containing color names (:issue:`34316`)
10971109
- Bug in :meth:`pandas.plotting.bootstrap_plot` was causing cluttered axes and overlapping labels (:issue:`34905`)
1110+
- Bug in :meth:`DataFrame.plot.scatter` caused an error when plotting variable marker sizes (:issue:`32904`)
10981111

10991112
Groupby/resample/rolling
11001113
^^^^^^^^^^^^^^^^^^^^^^^^
@@ -1140,6 +1153,7 @@ Reshaping
11401153
- Bug in :meth:`concat` where when passing a non-dict mapping as ``objs`` would raise a ``TypeError`` (:issue:`32863`)
11411154
- :meth:`DataFrame.agg` now provides more descriptive ``SpecificationError`` message when attempting to aggregating non-existant column (:issue:`32755`)
11421155
- Bug in :meth:`DataFrame.unstack` when MultiIndexed columns and MultiIndexed rows were used (:issue:`32624`, :issue:`24729` and :issue:`28306`)
1156+
- Appending a dictionary to a :class:`DataFrame` without passing ``ignore_index=True`` will raise ``TypeError: Can only append a dict if ignore_index=True`` instead of ``TypeError: Can only append a Series if ignore_index=True or if the Series has a name`` (:issue:`30871`)
11431157
- Bug in :meth:`DataFrame.corrwith()`, :meth:`DataFrame.memory_usage()`, :meth:`DataFrame.dot()`,
11441158
:meth:`DataFrame.idxmin()`, :meth:`DataFrame.idxmax()`, :meth:`DataFrame.duplicated()`, :meth:`DataFrame.isin()`,
11451159
:meth:`DataFrame.count()`, :meth:`Series.explode()`, :meth:`Series.asof()` and :meth:`DataFrame.asof()` not
@@ -1180,28 +1194,12 @@ ExtensionArray
11801194
Other
11811195
^^^^^
11821196

1183-
- The :class:`DataFrame` constructor no longer accepts a list of ``DataFrame`` objects. Because of changes to NumPy, ``DataFrame`` objects are now consistently treated as 2D objects, so a list of ``DataFrames`` is considered 3D, and no longer acceptible for the ``DataFrame`` constructor (:issue:`32289`).
1184-
- :meth:`Series.interpolate` and :meth:`DataFrame.interpolate` now raises ValueError if ``limit_direction`` is 'forward' or 'both' and ``method`` is 'backfill' or 'bfill' or ``limit_direction`` is 'backward' or 'both' and ``method`` is 'pad' or 'ffill' (:issue:`34746`)
1185-
- Appending a dictionary to a :class:`DataFrame` without passing ``ignore_index=True`` will raise ``TypeError: Can only append a dict if ignore_index=True``
1186-
instead of ``TypeError: Can only append a Series if ignore_index=True or if the Series has a name`` (:issue:`30871`)
11871197
- Set operations on an object-dtype :class:`Index` now always return object-dtype results (:issue:`31401`)
1188-
- Bug in :meth:`AbstractHolidayCalendar.holidays` when no rules were defined (:issue:`31415`)
1189-
- Bug in :class:`DataFrame` when initiating a frame with lists and assign ``columns`` with nested list for ``MultiIndex`` (:issue:`32173`)
1190-
- Bug in :meth:`DataFrame.to_records` incorrectly losing timezone information in timezone-aware ``datetime64`` columns (:issue:`32535`)
11911198
- Fixed :func:`pandas.testing.assert_series_equal` to correctly raise if left object is a different subclass with ``check_series_type=True`` (:issue:`32670`).
1192-
- :meth:`IntegerArray.astype` now supports ``datetime64`` dtype (:issue:`32538`)
11931199
- Getting a missing attribute in a query/eval string raises the correct ``AttributeError`` (:issue:`32408`)
11941200
- Fixed bug in :func:`pandas.testing.assert_series_equal` where dtypes were checked for ``Interval`` and ``ExtensionArray`` operands when ``check_dtype`` was ``False`` (:issue:`32747`)
1195-
- Bug in :meth:`Series.map` not raising on invalid ``na_action`` (:issue:`32815`)
11961201
- Bug in :meth:`DataFrame.__dir__` caused a segfault when using unicode surrogates in a column name (:issue:`25509`)
1197-
- Bug in :meth:`DataFrame.plot.scatter` caused an error when plotting variable marker sizes (:issue:`32904`)
1198-
- :class:`IntegerArray` now implements the ``sum`` operation (:issue:`33172`)
1199-
- Bug in :meth:`DataFrame.equals` and :meth:`Series.equals` in allowing subclasses
1200-
to be equal (:issue:`34402`).
1201-
- Bug in :class:`Tick` comparisons raising ``TypeError`` when comparing against timedelta-like objects (:issue:`34088`)
1202-
- Bug in :class:`Tick` multiplication raising ``TypeError`` when multiplying by a float (:issue:`34486`)
1203-
- Passing a `set` as `names` argument to :func:`pandas.read_csv`, :func:`pandas.read_table`, or :func:`pandas.read_fwf` will raise ``ValueError: Names should be an ordered collection.`` (:issue:`34946`)
1204-
- Improved error message for invalid construction of list when creating a new index (:issue:`35190`)
1202+
- Bug in :meth:`DataFrame.equals` and :meth:`Series.equals` in allowing subclasses to be equal (:issue:`34402`).
12051203

12061204
.. ---------------------------------------------------------------------------
12071205
@@ -1210,3 +1208,4 @@ Other
12101208
Contributors
12111209
~~~~~~~~~~~~
12121210

1211+
.. contributors:: v1.0.5..v1.1.0|HEAD

0 commit comments

Comments
 (0)