Skip to content

Commit c437277

Browse files
authored
CLN: ._data, PeriodIndex arguments (#57385)
* Remove ._data * Remove _data from StringArrow * Remove period arguments * Bump fastparquet
1 parent 5fff2cd commit c437277

21 files changed

+43
-200
lines changed

ci/deps/actions-310.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ dependencies:
2626
- beautifulsoup4>=4.11.2
2727
- blosc>=1.21.3
2828
- bottleneck>=1.3.6
29-
- fastparquet>=2022.12.0
29+
- fastparquet>=2023.04.0
3030
- fsspec>=2022.11.0
3131
- html5lib>=1.1
3232
- hypothesis>=6.46.1

ci/deps/actions-311-downstream_compat.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ dependencies:
2828
- beautifulsoup4>=4.11.2
2929
- blosc>=1.21.3
3030
- bottleneck>=1.3.6
31-
- fastparquet>=2022.12.0
31+
- fastparquet>=2023.04.0
3232
- fsspec>=2022.11.0
3333
- html5lib>=1.1
3434
- hypothesis>=6.46.1

ci/deps/actions-311.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ dependencies:
2626
- beautifulsoup4>=4.11.2
2727
- blosc>=1.21.3
2828
- bottleneck>=1.3.6
29-
- fastparquet>=2022.12.0
29+
- fastparquet>=2023.04.0
3030
- fsspec>=2022.11.0
3131
- html5lib>=1.1
3232
- hypothesis>=6.46.1

ci/deps/actions-312.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ dependencies:
2626
- beautifulsoup4>=4.11.2
2727
- blosc>=1.21.3
2828
- bottleneck>=1.3.6
29-
- fastparquet>=2022.12.0
29+
- fastparquet>=2023.04.0
3030
- fsspec>=2022.11.0
3131
- html5lib>=1.1
3232
- hypothesis>=6.46.1

ci/deps/actions-39-minimum_versions.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ dependencies:
2929
- beautifulsoup4=4.11.2
3030
- blosc=1.21.3
3131
- bottleneck=1.3.6
32-
- fastparquet=2022.12.0
32+
- fastparquet=2023.04.0
3333
- fsspec=2022.11.0
3434
- html5lib=1.1
3535
- hypothesis=6.46.1

ci/deps/actions-39.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ dependencies:
2626
- beautifulsoup4>=4.11.2
2727
- blosc>=1.21.3
2828
- bottleneck>=1.3.6
29-
- fastparquet>=2022.12.0
29+
- fastparquet>=2023.04.0
3030
- fsspec>=2022.11.0
3131
- html5lib>=1.1
3232
- hypothesis>=6.46.1

ci/deps/circle-310-arm64.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ dependencies:
2727
- beautifulsoup4>=4.11.2
2828
- blosc>=1.21.3
2929
- bottleneck>=1.3.6
30-
- fastparquet>=2022.12.0
30+
- fastparquet>=2023.04.0
3131
- fsspec>=2022.11.0
3232
- html5lib>=1.1
3333
- hypothesis>=6.46.1

doc/source/getting_started/install.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ Dependency Minimum Version pip extra Notes
361361
PyTables 3.8.0 hdf5 HDF5-based reading / writing
362362
blosc 1.21.3 hdf5 Compression for HDF5; only available on ``conda``
363363
zlib hdf5 Compression for HDF5
364-
fastparquet 2022.12.0 - Parquet reading / writing (pyarrow is default)
364+
fastparquet 2023.04.0 - Parquet reading / writing (pyarrow is default)
365365
pyarrow 10.0.1 parquet, feather Parquet, ORC, and feather reading / writing
366366
pyreadstat 1.2.0 spss SPSS files (.sav) reading
367367
odfpy 1.4.1 excel Open document format (.odf, .ods, .odt) reading / writing

doc/source/whatsnew/v3.0.0.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ Optional libraries below the lowest tested version may still work, but are not c
7777
+-----------------+---------------------+
7878
| Package | New Minimum Version |
7979
+=================+=====================+
80-
| | |
80+
| fastparquet | 2023.04.0 |
8181
+-----------------+---------------------+
8282

8383
See :ref:`install.dependencies` and :ref:`install.optional_dependencies` for more.
@@ -125,6 +125,7 @@ Removal of prior version deprecations/changes
125125
- Removed ``Series.ravel`` (:issue:`56053`)
126126
- Removed ``Series.view`` (:issue:`56054`)
127127
- Removed ``StataReader.close`` (:issue:`49228`)
128+
- Removed ``_data`` from :class:`DataFrame`, :class:`Series`, :class:`.arrays.ArrowExtensionArray` (:issue:`52003`)
128129
- Removed ``axis`` argument from :meth:`DataFrame.groupby`, :meth:`Series.groupby`, :meth:`DataFrame.rolling`, :meth:`Series.rolling`, :meth:`DataFrame.resample`, and :meth:`Series.resample` (:issue:`51203`)
129130
- Removed ``axis`` argument from all groupby operations (:issue:`50405`)
130131
- Removed ``convert_dtype`` from :meth:`Series.apply` (:issue:`52257`)
@@ -134,6 +135,7 @@ Removal of prior version deprecations/changes
134135
- Removed ``pandas.value_counts``, use :meth:`Series.value_counts` instead (:issue:`53493`)
135136
- Removed ``read_gbq`` and ``DataFrame.to_gbq``. Use ``pandas_gbq.read_gbq`` and ``pandas_gbq.to_gbq`` instead https://pandas-gbq.readthedocs.io/en/latest/api.html (:issue:`55525`)
136137
- Removed ``use_nullable_dtypes`` from :func:`read_parquet` (:issue:`51853`)
138+
- Removed ``year``, ``month``, ``quarter``, ``day``, ``hour``, ``minute``, and ``second`` keywords in the :class:`PeriodIndex` constructor, use :meth:`PeriodIndex.from_fields` instead (:issue:`55960`)
137139
- Removed deprecated argument ``obj`` in :meth:`.DataFrameGroupBy.get_group` and :meth:`.SeriesGroupBy.get_group` (:issue:`53545`)
138140
- Removed deprecated behavior of :meth:`Series.agg` using :meth:`Series.apply` (:issue:`53325`)
139141
- Removed support for :class:`DataFrame` in :meth:`DataFrame.from_records`(:issue:`51697`)
@@ -142,6 +144,7 @@ Removal of prior version deprecations/changes
142144
- Removed the ``ArrayManager`` (:issue:`55043`)
143145
- Removed the ``fastpath`` argument from the :class:`Series` constructor (:issue:`55466`)
144146
- Removed the ``is_boolean``, ``is_integer``, ``is_floating``, ``holds_integer``, ``is_numeric``, ``is_categorical``, ``is_object``, and ``is_interval`` attributes of :class:`Index` (:issue:`50042`)
147+
- Removed the ``ordinal`` keyword in :class:`PeriodIndex`, use :meth:`PeriodIndex.from_ordinals` instead (:issue:`55960`)
145148
- Removed unused arguments ``*args`` and ``**kwargs`` in :class:`Resampler` methods (:issue:`50977`)
146149
- Unrecognized timezones when parsing strings to datetimes now raises a ``ValueError`` (:issue:`51477`)
147150

environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ dependencies:
2929
- beautifulsoup4>=4.11.2
3030
- blosc
3131
- bottleneck>=1.3.6
32-
- fastparquet>=2022.12.0
32+
- fastparquet>=2023.04.0
3333
- fsspec>=2022.11.0
3434
- html5lib>=1.1
3535
- hypothesis>=6.46.1

0 commit comments

Comments
 (0)