Skip to content

Commit b089fa0

Browse files
committed
resolve conflict in whatsnew/v2.1.0.rst
2 parents d8c7fd7 + c65c8dd commit b089fa0

File tree

80 files changed

+3347
-2058
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+3347
-2058
lines changed

.github/workflows/unit-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ jobs:
337337
run: |
338338
python --version
339339
python -m pip install --upgrade pip setuptools wheel
340-
python -m pip install --pre --extra-index-url https://pypi.anaconda.org/scipy-wheels-nightly/simple numpy
340+
python -m pip install --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy
341341
python -m pip install git+https://github.com/nedbat/coveragepy.git
342342
python -m pip install versioneer[toml]
343343
python -m pip install python-dateutil pytz cython hypothesis>=6.46.1 pytest>=7.0.0 pytest-xdist>=2.2.0 pytest-cov pytest-asyncio>=0.17

.github/workflows/wheels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ jobs:
156156
PANDAS_STAGING_UPLOAD_TOKEN: ${{ secrets.PANDAS_STAGING_UPLOAD_TOKEN }}
157157
PANDAS_NIGHTLY_UPLOAD_TOKEN: ${{ secrets.PANDAS_NIGHTLY_UPLOAD_TOKEN }}
158158
# trigger an upload to
159-
# https://anaconda.org/scipy-wheels-nightly/pandas
159+
# https://anaconda.org/scientific-python-nightly-wheels/pandas
160160
# for cron jobs or "Run workflow" (restricted to main branch).
161161
# Tags will upload to
162162
# https://anaconda.org/multibuild-wheels-staging/pandas

ci/code_checks.sh

Lines changed: 1 addition & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -263,50 +263,7 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
263263
pandas.core.window.ewm.ExponentialMovingWindow.cov \
264264
pandas.api.indexers.BaseIndexer \
265265
pandas.api.indexers.VariableOffsetWindowIndexer \
266-
pandas.core.groupby.DataFrameGroupBy.count \
267-
pandas.core.groupby.DataFrameGroupBy.cummax \
268-
pandas.core.groupby.DataFrameGroupBy.cummin \
269-
pandas.core.groupby.DataFrameGroupBy.cumprod \
270-
pandas.core.groupby.DataFrameGroupBy.cumsum \
271-
pandas.core.groupby.DataFrameGroupBy.diff \
272-
pandas.core.groupby.DataFrameGroupBy.ffill \
273-
pandas.core.groupby.DataFrameGroupBy.max \
274-
pandas.core.groupby.DataFrameGroupBy.median \
275-
pandas.core.groupby.DataFrameGroupBy.min \
276-
pandas.core.groupby.DataFrameGroupBy.ohlc \
277-
pandas.core.groupby.DataFrameGroupBy.pct_change \
278-
pandas.core.groupby.DataFrameGroupBy.prod \
279-
pandas.core.groupby.DataFrameGroupBy.sem \
280-
pandas.core.groupby.DataFrameGroupBy.shift \
281-
pandas.core.groupby.DataFrameGroupBy.size \
282-
pandas.core.groupby.DataFrameGroupBy.skew \
283-
pandas.core.groupby.DataFrameGroupBy.std \
284-
pandas.core.groupby.DataFrameGroupBy.sum \
285-
pandas.core.groupby.DataFrameGroupBy.var \
286-
pandas.core.groupby.SeriesGroupBy.count \
287-
pandas.core.groupby.SeriesGroupBy.cummax \
288-
pandas.core.groupby.SeriesGroupBy.cummin \
289-
pandas.core.groupby.SeriesGroupBy.cumprod \
290-
pandas.core.groupby.SeriesGroupBy.cumsum \
291-
pandas.core.groupby.SeriesGroupBy.diff \
292-
pandas.core.groupby.SeriesGroupBy.ffill \
293-
pandas.core.groupby.SeriesGroupBy.max \
294-
pandas.core.groupby.SeriesGroupBy.median \
295-
pandas.core.groupby.SeriesGroupBy.min \
296-
pandas.core.groupby.SeriesGroupBy.nunique \
297-
pandas.core.groupby.SeriesGroupBy.ohlc \
298-
pandas.core.groupby.SeriesGroupBy.pct_change \
299-
pandas.core.groupby.SeriesGroupBy.prod \
300-
pandas.core.groupby.SeriesGroupBy.sem \
301-
pandas.core.groupby.SeriesGroupBy.shift \
302-
pandas.core.groupby.SeriesGroupBy.size \
303-
pandas.core.groupby.SeriesGroupBy.skew \
304-
pandas.core.groupby.SeriesGroupBy.std \
305-
pandas.core.groupby.SeriesGroupBy.sum \
306-
pandas.core.groupby.SeriesGroupBy.var \
307-
pandas.core.groupby.SeriesGroupBy.hist \
308-
pandas.core.groupby.DataFrameGroupBy.plot \
309-
pandas.core.groupby.SeriesGroupBy.plot \
266+
pandas.core.groupby.SeriesGroupBy.fillna \
310267
pandas.io.formats.style.Styler \
311268
pandas.io.formats.style.Styler.from_custom_template \
312269
pandas.io.formats.style.Styler.set_caption \

ci/upload_wheels.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ set_upload_vars() {
1010
export ANACONDA_UPLOAD="true"
1111
elif [[ "$IS_SCHEDULE_DISPATCH" == "true" ]]; then
1212
echo scheduled or dispatched event
13-
export ANACONDA_ORG="scipy-wheels-nightly"
13+
export ANACONDA_ORG="scientific-python-nightly-wheels"
1414
export TOKEN="$PANDAS_NIGHTLY_UPLOAD_TOKEN"
1515
export ANACONDA_UPLOAD="true"
1616
else
@@ -28,12 +28,12 @@ upload_wheels() {
2828
if compgen -G "./dist/*.gz"; then
2929
echo "Found sdist"
3030
anaconda -q -t ${TOKEN} upload --skip -u ${ANACONDA_ORG} ./dist/*.gz
31-
elif compgen -G "./wheelhouse/*.whl"; then
31+
echo "Uploaded sdist"
32+
fi
33+
if compgen -G "./wheelhouse/*.whl"; then
3234
echo "Found wheel"
3335
anaconda -q -t ${TOKEN} upload --skip -u ${ANACONDA_ORG} ./wheelhouse/*.whl
34-
else
35-
echo "Files do not exist"
36-
return 1
36+
echo "Uploaded wheel"
3737
fi
3838
echo "PyPI-style index: https://pypi.anaconda.org/$ANACONDA_ORG/simple"
3939
fi

doc/source/getting_started/comparison/includes/missing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Forward fill from previous rows
1919

2020
.. ipython:: python
2121
22-
outer_join.fillna(method="ffill")
22+
outer_join.ffill()
2323
2424
Replace missing values with a specified value
2525
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

doc/source/getting_started/install.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,9 +201,9 @@ Installing a nightly build is the quickest way to:
201201
* Try a new feature that will be shipped in the next release (that is, a feature from a pull-request that was recently merged to the main branch).
202202
* Check whether a bug you encountered has been fixed since the last release.
203203

204-
You can install the nightly build of pandas using the scipy-wheels-nightly index from the PyPI registry of anaconda.org with the following command::
204+
You can install the nightly build of pandas using the scientific-python-nightly-wheels index from the PyPI registry of anaconda.org with the following command::
205205

206-
pip install --pre --extra-index https://pypi.anaconda.org/scipy-wheels-nightly/simple pandas
206+
pip install --pre --extra-index https://pypi.anaconda.org/scientific-python-nightly-wheels/simple pandas
207207

208208
Note that first uninstalling pandas might be required to be able to install nightly builds::
209209

doc/source/getting_started/intro_tutorials/02_read_write.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,9 @@ strings (``object``).
9999
.. note::
100100
When asking for the ``dtypes``, no brackets are used!
101101
``dtypes`` is an attribute of a ``DataFrame`` and ``Series``. Attributes
102-
of ``DataFrame`` or ``Series`` do not need brackets. Attributes
103-
represent a characteristic of a ``DataFrame``/``Series``, whereas a
104-
method (which requires brackets) *do* something with the
102+
of a ``DataFrame`` or ``Series`` do not need brackets. Attributes
103+
represent a characteristic of a ``DataFrame``/``Series``, whereas
104+
methods (which require brackets) *do* something with the
105105
``DataFrame``/``Series`` as introduced in the :ref:`first tutorial <10min_tut_01_tableoriented>`.
106106

107107
.. raw:: html

doc/source/user_guide/basics.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1377,12 +1377,12 @@ These methods require that the indexes are **ordered** increasing or
13771377
decreasing.
13781378

13791379
Note that the same result could have been achieved using
1380-
:ref:`fillna <missing_data.fillna>` (except for ``method='nearest'``) or
1380+
:ref:`ffill <missing_data.fillna>` (except for ``method='nearest'``) or
13811381
:ref:`interpolate <missing_data.interpolate>`:
13821382

13831383
.. ipython:: python
13841384
1385-
ts2.reindex(ts.index).fillna(method="ffill")
1385+
ts2.reindex(ts.index).ffill()
13861386
13871387
:meth:`~Series.reindex` will raise a ValueError if the index is not monotonically
13881388
increasing or decreasing. :meth:`~Series.fillna` and :meth:`~Series.interpolate`

doc/source/user_guide/missing_data.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ objects.
145145
:suppress:
146146
147147
df = df2.loc[:, ["one", "two", "three"]]
148-
a = df2.loc[df2.index[:5], ["one", "two"]].fillna(method="pad")
148+
a = df2.loc[df2.index[:5], ["one", "two"]].ffill()
149149
b = df2.loc[df2.index[:5], ["one", "two", "three"]]
150150
151151
.. ipython:: python
@@ -237,7 +237,7 @@ can propagate non-NA values forward or backward:
237237
.. ipython:: python
238238
239239
df
240-
df.fillna(method="pad")
240+
df.ffill()
241241
242242
.. _missing_data.fillna.limit:
243243

@@ -254,7 +254,7 @@ we can use the ``limit`` keyword:
254254
.. ipython:: python
255255
256256
df
257-
df.fillna(method="pad", limit=1)
257+
df.ffill(limit=1)
258258
259259
To remind you, these are the available filling methods:
260260

doc/source/user_guide/style.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@
5959
"\n",
6060
"### Formatting Values\n",
6161
"\n",
62-
"The [Styler][styler] distinguishes the *display* value from the *actual* value, in both data values and index or columns headers. To control the display value, the text is printed in each cell as string, and we can use the [.format()][formatfunc] and [.format_index()][formatfuncindex] methods to manipulate this according to a [format spec string][format] or a callable that takes a single value and returns a string. It is possible to define this for the whole table, or index, or for individual columns, or MultiIndex levels. We can also overwrite index names\n",
62+
"The [Styler][styler] distinguishes the *display* value from the *actual* value, in both data values and index or columns headers. To control the display value, the text is printed in each cell as a string, and we can use the [.format()][formatfunc] and [.format_index()][formatfuncindex] methods to manipulate this according to a [format spec string][format] or a callable that takes a single value and returns a string. It is possible to define this for the whole table, or index, or for individual columns, or MultiIndex levels. We can also overwrite index names.\n",
6363
"\n",
64-
"Additionally, the format function has a **precision** argument to specifically help formatting floats, as well as **decimal** and **thousands** separators to support other locales, an **na_rep** argument to display missing data, and an **escape** and **hyperlinks** arguments to help displaying safe-HTML or safe-LaTeX. The default formatter is configured to adopt pandas' global options such as `styler.format.precision` option, controllable using `with pd.option_context('format.precision', 2):` \n",
64+
"Additionally, the format function has a **precision** argument to specifically help format floats, as well as **decimal** and **thousands** separators to support other locales, an **na_rep** argument to display missing data, and an **escape** and **hyperlinks** arguments to help displaying safe-HTML or safe-LaTeX. The default formatter is configured to adopt pandas' global options such as `styler.format.precision` option, controllable using `with pd.option_context('format.precision', 2):`\n",
6565
"\n",
6666
"[styler]: ../reference/api/pandas.io.formats.style.Styler.rst\n",
6767
"[format]: https://docs.python.org/3/library/string.html#format-specification-mini-language\n",

0 commit comments

Comments
 (0)