Skip to content

Commit 5fa24d2

Browse files
Merge remote-tracking branch 'upstream/main' into string-dtype-tests-quantile
2 parents 348e3dc + 4bbb3ce commit 5fa24d2

27 files changed

+108
-64
lines changed

.github/workflows/unit-tests.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ jobs:
8686
TEST_ARGS: ${{ matrix.test_args || '' }}
8787
PYTEST_WORKERS: 'auto'
8888
PYTEST_TARGET: ${{ matrix.pytest_target || 'pandas' }}
89-
NPY_PROMOTION_STATE: ${{ matrix.env_file == 'actions-311-numpydev.yaml' && 'weak' || 'legacy' }}
9089
# Clipboard tests
9190
QT_QPA_PLATFORM: offscreen
9291
REMOVE_PYARROW: ${{ matrix.name == 'Future infer strings (without pyarrow)' && '1' || '0' }}

.github/workflows/wheels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ jobs:
156156
run: echo "sdist_name=$(cd ./dist && ls -d */)" >> "$GITHUB_ENV"
157157

158158
- name: Build wheels
159-
uses: pypa/[email protected].0
159+
uses: pypa/[email protected].3
160160
with:
161161
package-dir: ./dist/${{ startsWith(matrix.buildplat[1], 'macosx') && env.sdist_name || needs.build_sdist.outputs.sdist_file }}
162162
env:

ci/code_checks.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
8585
-i "pandas.Timestamp.resolution PR02" \
8686
-i "pandas.Timestamp.tzinfo GL08" \
8787
-i "pandas.Timestamp.year GL08" \
88-
-i "pandas.api.types.is_iterator PR07,SA01" \
8988
-i "pandas.api.types.is_re_compilable PR07,SA01" \
9089
-i "pandas.api.types.pandas_dtype PR07,RT03,SA01" \
9190
-i "pandas.arrays.ArrowExtensionArray PR07,SA01" \
@@ -144,7 +143,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
144143
-i "pandas.io.stata.StataWriter.write_file SA01" \
145144
-i "pandas.plotting.andrews_curves RT03,SA01" \
146145
-i "pandas.plotting.scatter_matrix PR07,SA01" \
147-
-i "pandas.set_eng_float_format RT03,SA01" \
148146
-i "pandas.tseries.offsets.BDay PR02,SA01" \
149147
-i "pandas.tseries.offsets.BQuarterBegin.is_on_offset GL08" \
150148
-i "pandas.tseries.offsets.BQuarterBegin.n GL08" \

ci/deps/actions-311-pyarrownightly.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ dependencies:
1818

1919
# required dependencies
2020
- python-dateutil
21-
- numpy<2
21+
- numpy
2222
- pip
2323

2424
- pip:

doc/source/user_guide/cookbook.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ These are some neat pandas ``idioms``
3535
)
3636
df
3737
38-
if-then...
38+
If-then...
3939
**********
4040

4141
An if-then on one column
@@ -176,7 +176,7 @@ One could hard code:
176176
Selection
177177
---------
178178

179-
Dataframes
179+
DataFrames
180180
**********
181181

182182
The :ref:`indexing <indexing>` docs.
@@ -1489,7 +1489,7 @@ of the data values:
14891489
)
14901490
df
14911491
1492-
Constant series
1492+
Constant Series
14931493
---------------
14941494

14951495
To assess if a series has a constant value, we can check if ``series.nunique() <= 1``.

doc/source/user_guide/gotchas.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ Below is how to check if any of the values are ``True``:
121121
if pd.Series([False, True, False]).any():
122122
print("I am any")
123123
124-
Bitwise boolean
124+
Bitwise Boolean
125125
~~~~~~~~~~~~~~~
126126

127127
Bitwise boolean operators like ``==`` and ``!=`` return a boolean :class:`Series`

doc/source/user_guide/groupby.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ this will make an extra copy.
618618
619619
.. _groupby.aggregate.udf:
620620

621-
Aggregation with User-Defined Functions
621+
Aggregation with user-defined functions
622622
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
623623

624624
Users can also provide their own User-Defined Functions (UDFs) for custom aggregations.
@@ -1261,7 +1261,7 @@ with
12611261
df.groupby("A", group_keys=False).apply(lambda x: x, include_groups=False)
12621262
12631263
1264-
Numba Accelerated Routines
1264+
Numba accelerated routines
12651265
--------------------------
12661266

12671267
.. versionadded:: 1.1
@@ -1696,7 +1696,7 @@ introduction <categorical>` and the
16961696
16971697
dfg.groupby(["A", [0, 0, 0, 1, 1]]).ngroup()
16981698
1699-
Groupby by indexer to 'resample' data
1699+
GroupBy by indexer to 'resample' data
17001700
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
17011701

17021702
Resampling produces new hypothetical samples (resamples) from already existing observed data or from a model that generates data. These new samples are similar to the pre-existing samples.

doc/source/user_guide/integer_na.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ Reduction and groupby operations such as :meth:`~DataFrame.sum` work as well.
147147
df.sum()
148148
df.groupby("B").A.sum()
149149
150-
Scalar NA Value
150+
Scalar NA value
151151
---------------
152152

153153
:class:`arrays.IntegerArray` uses :attr:`pandas.NA` as its scalar

doc/source/user_guide/io.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5996,7 +5996,7 @@ Full documentation can be found `here <https://pandas-gbq.readthedocs.io/en/late
59965996

59975997
.. _io.stata:
59985998

5999-
Stata format
5999+
STATA format
60006000
------------
60016001

60026002
.. _io.stata_writer:

doc/source/whatsnew/v1.0.2.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Fixed regressions
4747

4848
.. ---------------------------------------------------------------------------
4949
50-
Indexing with nullable boolean arrays
50+
Indexing with nullable Boolean arrays
5151
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5252

5353
Previously indexing with a nullable Boolean array containing ``NA`` would raise a ``ValueError``, however this is now permitted with ``NA`` being treated as ``False``. (:issue:`31503`)

0 commit comments

Comments
 (0)