Skip to content

Commit

Permalink
Merge branch 'main' into perf_fillna
Browse files Browse the repository at this point in the history
  • Loading branch information
phofl authored Feb 19, 2024
2 parents ccff0fa + 1f622e2 commit c09c6be
Show file tree
Hide file tree
Showing 46 changed files with 578 additions and 1,182 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/package-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
extra: ["test", "performance", "computation", "fss", "aws", "gcp", "excel", "parquet", "feather", "hdf5", "spss", "postgresql", "mysql", "sql-other", "html", "xml", "plot", "output-formatting", "clipboard", "compression", "consortium-standard", "all"]
extra: ["test", "performance", "computation", "fss", "aws", "gcp", "excel", "parquet", "feather", "hdf5", "spss", "postgresql", "mysql", "sql-other", "html", "xml", "plot", "output-formatting", "clipboard", "compression", "all"]
fail-fast: false
name: Install Extras - ${{ matrix.extra }}
concurrency:
Expand Down
1 change: 0 additions & 1 deletion ci/deps/actions-311-downstream_compat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,4 @@ dependencies:
- pip:
- adbc-driver-postgresql>=0.8.0
- adbc-driver-sqlite>=0.8.0
- dataframe-api-compat>=0.1.7
- tzdata>=2022.7
1 change: 0 additions & 1 deletion ci/deps/actions-39-minimum_versions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,4 @@ dependencies:
- pip:
- adbc-driver-postgresql==0.8.0
- adbc-driver-sqlite==0.8.0
- dataframe-api-compat==0.1.7
- tzdata==2022.7
11 changes: 0 additions & 11 deletions doc/source/getting_started/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -417,14 +417,3 @@ Dependency Minimum Version pip extra Notes
========================= ================== =============== =============================================================
Zstandard 0.19.0 compression Zstandard compression
========================= ================== =============== =============================================================

Consortium Standard
^^^^^^^^^^^^^^^^^^^

Installable with ``pip install "pandas[consortium-standard]"``

========================= ================== =================== =============================================================
Dependency Minimum Version pip extra Notes
========================= ================== =================== =============================================================
dataframe-api-compat 0.1.7 consortium-standard Consortium Standard-compatible implementation based on pandas
========================= ================== =================== =============================================================
35 changes: 0 additions & 35 deletions doc/source/reference/offset_frequency.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ Methods
:toctree: api/

DateOffset.copy
DateOffset.is_anchored
DateOffset.is_on_offset
DateOffset.is_month_start
DateOffset.is_month_end
Expand Down Expand Up @@ -82,7 +81,6 @@ Methods
:toctree: api/

BusinessDay.copy
BusinessDay.is_anchored
BusinessDay.is_on_offset
BusinessDay.is_month_start
BusinessDay.is_month_end
Expand Down Expand Up @@ -122,7 +120,6 @@ Methods
:toctree: api/

BusinessHour.copy
BusinessHour.is_anchored
BusinessHour.is_on_offset
BusinessHour.is_month_start
BusinessHour.is_month_end
Expand Down Expand Up @@ -169,7 +166,6 @@ Methods
:toctree: api/

CustomBusinessDay.copy
CustomBusinessDay.is_anchored
CustomBusinessDay.is_on_offset
CustomBusinessDay.is_month_start
CustomBusinessDay.is_month_end
Expand Down Expand Up @@ -209,7 +205,6 @@ Methods
:toctree: api/

CustomBusinessHour.copy
CustomBusinessHour.is_anchored
CustomBusinessHour.is_on_offset
CustomBusinessHour.is_month_start
CustomBusinessHour.is_month_end
Expand Down Expand Up @@ -244,7 +239,6 @@ Methods
:toctree: api/

MonthEnd.copy
MonthEnd.is_anchored
MonthEnd.is_on_offset
MonthEnd.is_month_start
MonthEnd.is_month_end
Expand Down Expand Up @@ -279,7 +273,6 @@ Methods
:toctree: api/

MonthBegin.copy
MonthBegin.is_anchored
MonthBegin.is_on_offset
MonthBegin.is_month_start
MonthBegin.is_month_end
Expand Down Expand Up @@ -323,7 +316,6 @@ Methods
:toctree: api/

BusinessMonthEnd.copy
BusinessMonthEnd.is_anchored
BusinessMonthEnd.is_on_offset
BusinessMonthEnd.is_month_start
BusinessMonthEnd.is_month_end
Expand Down Expand Up @@ -367,7 +359,6 @@ Methods
:toctree: api/

BusinessMonthBegin.copy
BusinessMonthBegin.is_anchored
BusinessMonthBegin.is_on_offset
BusinessMonthBegin.is_month_start
BusinessMonthBegin.is_month_end
Expand Down Expand Up @@ -415,7 +406,6 @@ Methods
:toctree: api/

CustomBusinessMonthEnd.copy
CustomBusinessMonthEnd.is_anchored
CustomBusinessMonthEnd.is_on_offset
CustomBusinessMonthEnd.is_month_start
CustomBusinessMonthEnd.is_month_end
Expand Down Expand Up @@ -463,7 +453,6 @@ Methods
:toctree: api/

CustomBusinessMonthBegin.copy
CustomBusinessMonthBegin.is_anchored
CustomBusinessMonthBegin.is_on_offset
CustomBusinessMonthBegin.is_month_start
CustomBusinessMonthBegin.is_month_end
Expand Down Expand Up @@ -499,7 +488,6 @@ Methods
:toctree: api/

SemiMonthEnd.copy
SemiMonthEnd.is_anchored
SemiMonthEnd.is_on_offset
SemiMonthEnd.is_month_start
SemiMonthEnd.is_month_end
Expand Down Expand Up @@ -535,7 +523,6 @@ Methods
:toctree: api/

SemiMonthBegin.copy
SemiMonthBegin.is_anchored
SemiMonthBegin.is_on_offset
SemiMonthBegin.is_month_start
SemiMonthBegin.is_month_end
Expand Down Expand Up @@ -571,7 +558,6 @@ Methods
:toctree: api/

Week.copy
Week.is_anchored
Week.is_on_offset
Week.is_month_start
Week.is_month_end
Expand Down Expand Up @@ -607,7 +593,6 @@ Methods
:toctree: api/

WeekOfMonth.copy
WeekOfMonth.is_anchored
WeekOfMonth.is_on_offset
WeekOfMonth.weekday
WeekOfMonth.is_month_start
Expand Down Expand Up @@ -645,7 +630,6 @@ Methods
:toctree: api/

LastWeekOfMonth.copy
LastWeekOfMonth.is_anchored
LastWeekOfMonth.is_on_offset
LastWeekOfMonth.is_month_start
LastWeekOfMonth.is_month_end
Expand Down Expand Up @@ -681,7 +665,6 @@ Methods
:toctree: api/

BQuarterEnd.copy
BQuarterEnd.is_anchored
BQuarterEnd.is_on_offset
BQuarterEnd.is_month_start
BQuarterEnd.is_month_end
Expand Down Expand Up @@ -717,7 +700,6 @@ Methods
:toctree: api/

BQuarterBegin.copy
BQuarterBegin.is_anchored
BQuarterBegin.is_on_offset
BQuarterBegin.is_month_start
BQuarterBegin.is_month_end
Expand Down Expand Up @@ -753,7 +735,6 @@ Methods
:toctree: api/

QuarterEnd.copy
QuarterEnd.is_anchored
QuarterEnd.is_on_offset
QuarterEnd.is_month_start
QuarterEnd.is_month_end
Expand Down Expand Up @@ -789,7 +770,6 @@ Methods
:toctree: api/

QuarterBegin.copy
QuarterBegin.is_anchored
QuarterBegin.is_on_offset
QuarterBegin.is_month_start
QuarterBegin.is_month_end
Expand Down Expand Up @@ -825,7 +805,6 @@ Methods
:toctree: api/

BYearEnd.copy
BYearEnd.is_anchored
BYearEnd.is_on_offset
BYearEnd.is_month_start
BYearEnd.is_month_end
Expand Down Expand Up @@ -861,7 +840,6 @@ Methods
:toctree: api/

BYearBegin.copy
BYearBegin.is_anchored
BYearBegin.is_on_offset
BYearBegin.is_month_start
BYearBegin.is_month_end
Expand Down Expand Up @@ -897,7 +875,6 @@ Methods
:toctree: api/

YearEnd.copy
YearEnd.is_anchored
YearEnd.is_on_offset
YearEnd.is_month_start
YearEnd.is_month_end
Expand Down Expand Up @@ -933,7 +910,6 @@ Methods
:toctree: api/

YearBegin.copy
YearBegin.is_anchored
YearBegin.is_on_offset
YearBegin.is_month_start
YearBegin.is_month_end
Expand Down Expand Up @@ -973,7 +949,6 @@ Methods
FY5253.copy
FY5253.get_rule_code_suffix
FY5253.get_year_end
FY5253.is_anchored
FY5253.is_on_offset
FY5253.is_month_start
FY5253.is_month_end
Expand Down Expand Up @@ -1014,7 +989,6 @@ Methods
FY5253Quarter.copy
FY5253Quarter.get_rule_code_suffix
FY5253Quarter.get_weeks
FY5253Quarter.is_anchored
FY5253Quarter.is_on_offset
FY5253Quarter.year_has_extra_week
FY5253Quarter.is_month_start
Expand Down Expand Up @@ -1050,7 +1024,6 @@ Methods
:toctree: api/

Easter.copy
Easter.is_anchored
Easter.is_on_offset
Easter.is_month_start
Easter.is_month_end
Expand Down Expand Up @@ -1086,7 +1059,6 @@ Methods
:toctree: api/

Tick.copy
Tick.is_anchored
Tick.is_on_offset
Tick.is_month_start
Tick.is_month_end
Expand Down Expand Up @@ -1122,7 +1094,6 @@ Methods
:toctree: api/

Day.copy
Day.is_anchored
Day.is_on_offset
Day.is_month_start
Day.is_month_end
Expand Down Expand Up @@ -1158,7 +1129,6 @@ Methods
:toctree: api/

Hour.copy
Hour.is_anchored
Hour.is_on_offset
Hour.is_month_start
Hour.is_month_end
Expand Down Expand Up @@ -1194,7 +1164,6 @@ Methods
:toctree: api/

Minute.copy
Minute.is_anchored
Minute.is_on_offset
Minute.is_month_start
Minute.is_month_end
Expand Down Expand Up @@ -1230,7 +1199,6 @@ Methods
:toctree: api/

Second.copy
Second.is_anchored
Second.is_on_offset
Second.is_month_start
Second.is_month_end
Expand Down Expand Up @@ -1266,7 +1234,6 @@ Methods
:toctree: api/

Milli.copy
Milli.is_anchored
Milli.is_on_offset
Milli.is_month_start
Milli.is_month_end
Expand Down Expand Up @@ -1302,7 +1269,6 @@ Methods
:toctree: api/

Micro.copy
Micro.is_anchored
Micro.is_on_offset
Micro.is_month_start
Micro.is_month_end
Expand Down Expand Up @@ -1338,7 +1304,6 @@ Methods
:toctree: api/

Nano.copy
Nano.is_anchored
Nano.is_on_offset
Nano.is_month_start
Nano.is_month_end
Expand Down
2 changes: 2 additions & 0 deletions doc/source/whatsnew/v2.2.1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ Fixed regressions
- Fixed regression in :meth:`DataFrame.to_dict` with ``orient='list'`` and datetime or timedelta types returning integers (:issue:`54824`)
- Fixed regression in :meth:`DataFrame.to_json` converting nullable integers to floats (:issue:`57224`)
- Fixed regression in :meth:`DataFrame.to_sql` when ``method="multi"`` is passed and the dialect type is not Oracle (:issue:`57310`)
- Fixed regression in :meth:`DataFrame.transpose` with nullable extension dtypes not having F-contiguous data potentially causing exceptions when used (:issue:`57315`)
- Fixed regression in :meth:`DataFrame.update` emitting incorrect warnings about downcasting (:issue:`57124`)
- Fixed regression in :meth:`DataFrameGroupBy.idxmin`, :meth:`DataFrameGroupBy.idxmax`, :meth:`SeriesGroupBy.idxmin`, :meth:`SeriesGroupBy.idxmax` ignoring the ``skipna`` argument (:issue:`57040`)
- Fixed regression in :meth:`DataFrameGroupBy.idxmin`, :meth:`DataFrameGroupBy.idxmax`, :meth:`SeriesGroupBy.idxmin`, :meth:`SeriesGroupBy.idxmax` where values containing the minimum or maximum value for the dtype could produce incorrect results (:issue:`57040`)
- Fixed regression in :meth:`ExtensionArray.to_numpy` raising for non-numeric masked dtypes (:issue:`56991`)
Expand Down
3 changes: 3 additions & 0 deletions doc/source/whatsnew/v3.0.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ Deprecations
~~~~~~~~~~~~
- Deprecated :meth:`Timestamp.utcfromtimestamp`, use ``Timestamp.fromtimestamp(ts, "UTC")`` instead (:issue:`56680`)
- Deprecated :meth:`Timestamp.utcnow`, use ``Timestamp.now("UTC")`` instead (:issue:`56680`)
- Deprecated allowing non-keyword arguments in :meth:`Series.to_markdown` except ``buf``. (:issue:`57280`)
- Deprecated allowing non-keyword arguments in :meth:`Series.to_string` except ``buf``. (:issue:`57280`)
-

Expand All @@ -118,6 +119,7 @@ Removal of prior version deprecations/changes
- Changed the default value of ``observed`` in :meth:`DataFrame.groupby` and :meth:`Series.groupby` to ``True`` (:issue:`51811`)
- Enforced silent-downcasting deprecation for :ref:`all relevant methods <whatsnew_220.silent_downcasting>` (:issue:`54710`)
- In :meth:`DataFrame.stack`, the default value of ``future_stack`` is now ``True``; specifying ``False`` will raise a ``FutureWarning`` (:issue:`55448`)
- Removed :meth:`DateOffset.is_anchored` and :meth:`offsets.Tick.is_anchored` (:issue:`56594`)
- Removed ``DataFrame.applymap``, ``Styler.applymap`` and ``Styler.applymap_index`` (:issue:`52364`)
- Removed ``DataFrame.bool`` and ``Series.bool`` (:issue:`51756`)
- Removed ``DataFrame.first`` and ``DataFrame.last`` (:issue:`53710`)
Expand Down Expand Up @@ -167,6 +169,7 @@ Performance improvements
- Performance improvement in :meth:`Index.take` when ``indices`` is a full range indexer from zero to length of index (:issue:`56806`)
- Performance improvement in :meth:`MultiIndex.equals` for equal length indexes (:issue:`56990`)
- Performance improvement in :meth:`RangeIndex.append` when appending the same index (:issue:`57252`)
- Performance improvement in :meth:`RangeIndex.take` returning a :class:`RangeIndex` instead of a :class:`Index` when possible. (:issue:`57445`)
- Performance improvement in indexing operations for string dtypes (:issue:`56997`)
-

Expand Down
1 change: 0 additions & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,5 @@ dependencies:
- pip:
- adbc-driver-postgresql>=0.8.0
- adbc-driver-sqlite>=0.8.0
- dataframe-api-compat>=0.1.7
- typing_extensions; python_version<"3.11"
- tzdata>=2022.7
1 change: 0 additions & 1 deletion pandas/_libs/tslibs/offsets.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ class BaseOffset:
def __getstate__(self): ...
@property
def nanos(self) -> int: ...
def is_anchored(self) -> bool: ...

def _get_offset(name: str) -> BaseOffset: ...

Expand Down
Loading

0 comments on commit c09c6be

Please sign in to comment.