Skip to content

Commit 697cca7

Browse files
authored
Modify headings capitalizations inside files in doc/source/whatsnew (part7) (#36501)
1 parent 74fc9ce commit 697cca7

File tree

8 files changed

+38
-36
lines changed

8 files changed

+38
-36
lines changed

doc/source/whatsnew/v0.25.0.rst

+10-12
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Enhancements
3333

3434
.. _whatsnew_0250.enhancements.agg_relabel:
3535

36-
Groupby aggregation with relabeling
36+
GroupBy aggregation with relabeling
3737
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3838

3939
pandas has added special groupby behavior, known as "named aggregation", for naming the
@@ -85,7 +85,7 @@ See :ref:`groupby.aggregate.named` for more.
8585

8686
.. _whatsnew_0250.enhancements.multiple_lambdas:
8787

88-
Groupby aggregation with multiple lambdas
88+
GroupBy aggregation with multiple lambdas
8989
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
9090

9191
You can now provide multiple lambda functions to a list-like aggregation in
@@ -161,7 +161,7 @@ To restore the previous behaviour of a single threshold, set
161161

162162
.. _whatsnew_0250.enhancements.json_normalize_with_max_level:
163163

164-
Json normalize with max_level param support
164+
JSON normalize with max_level param support
165165
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
166166

167167
:func:`json_normalize` normalizes the provided input dict to all
@@ -308,7 +308,7 @@ would be reassigned as -1. (:issue:`19387`)
308308
309309
.. _whatsnew_0250.api_breaking.groupby_apply_first_group_once:
310310

311-
``Groupby.apply`` on ``DataFrame`` evaluates first group only once
311+
``GroupBy.apply`` on ``DataFrame`` evaluates first group only once
312312
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
313313

314314
The implementation of :meth:`DataFrameGroupBy.apply() <pandas.core.groupby.DataFrameGroupBy.apply>`
@@ -422,7 +422,7 @@ of ``object`` dtype. :attr:`Series.str` will now infer the dtype data *within* t
422422
423423
.. _whatsnew_0250.api_breaking.groupby_categorical:
424424

425-
Categorical dtypes are preserved during groupby
425+
Categorical dtypes are preserved during GroupBy
426426
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
427427

428428
Previously, columns that were categorical, but not the groupby key(s) would be converted to ``object`` dtype during groupby operations. pandas now will preserve these dtypes. (:issue:`18502`)
@@ -483,7 +483,7 @@ values are coerced to floating point, which may result in loss of precision. See
483483
:ref:`indexing.set_ops` for more.
484484

485485

486-
``DataFrame`` groupby ffill/bfill no longer return group labels
486+
``DataFrame`` GroupBy ffill/bfill no longer return group labels
487487
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
488488

489489
The methods ``ffill``, ``bfill``, ``pad`` and ``backfill`` of
@@ -513,7 +513,7 @@ are returned. (:issue:`21521`)
513513
514514
df.groupby("a").ffill()
515515
516-
``DataFrame`` describe on an empty categorical / object column will return top and freq
516+
``DataFrame`` describe on an empty Categorical / object column will return top and freq
517517
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
518518

519519
When calling :meth:`DataFrame.describe` with an empty categorical / object
@@ -1085,7 +1085,6 @@ Conversion
10851085
10861086
- Bug in :func:`DataFrame.astype()` when passing a dict of columns and types the ``errors`` parameter was ignored. (:issue:`25905`)
10871087
-
1088-
-
10891088
10901089
Strings
10911090
^^^^^^^
@@ -1139,8 +1138,8 @@ MultiIndex
11391138
- Bug in which incorrect exception raised by :class:`Timedelta` when testing the membership of :class:`MultiIndex` (:issue:`24570`)
11401139
-
11411140
1142-
I/O
1143-
^^^
1141+
IO
1142+
^^
11441143
11451144
- Bug in :func:`DataFrame.to_html()` where values were truncated using display options instead of outputting the full content (:issue:`17004`)
11461145
- Fixed bug in missing text when using :meth:`to_clipboard` if copying utf-16 characters in Python 3 on Windows (:issue:`25040`)
@@ -1182,9 +1181,8 @@ Plotting
11821181
- Fixed bug causing plots of :class:`PeriodIndex` timeseries to fail if the frequency is a multiple of the frequency rule code (:issue:`14763`)
11831182
- Fixed bug when plotting a :class:`DatetimeIndex` with ``datetime.timezone.utc`` timezone (:issue:`17173`)
11841183
-
1185-
-
11861184
1187-
Groupby/resample/rolling
1185+
GroupBy/resample/rolling
11881186
^^^^^^^^^^^^^^^^^^^^^^^^
11891187
11901188
- Bug in :meth:`pandas.core.resample.Resampler.agg` with a timezone aware index where ``OverflowError`` would raise when passing a list of functions (:issue:`22660`)

doc/source/whatsnew/v0.25.1.rst

+5-5
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ What's new in 0.25.1 (August 21, 2019)
66
These are the changes in pandas 0.25.1. See :ref:`release` for a full changelog
77
including other versions of pandas.
88

9-
I/O and LZMA
10-
~~~~~~~~~~~~
9+
IO and LZMA
10+
~~~~~~~~~~~
1111

1212
Some users may unknowingly have an incomplete Python installation lacking the ``lzma`` module from the standard library. In this case, ``import pandas`` failed due to an ``ImportError`` (:issue:`27575`).
1313
pandas will now warn, rather than raising an ``ImportError`` if the ``lzma`` module is not present. Any subsequent attempt to use ``lzma`` methods will raise a ``RuntimeError``.
@@ -67,8 +67,8 @@ Missing
6767

6868
- Bug in :func:`pandas.isnull` or :func:`pandas.isna` when the input is a type e.g. ``type(pandas.Series())`` (:issue:`27482`)
6969

70-
I/O
71-
^^^
70+
IO
71+
^^
7272

7373
- Avoid calling ``S3File.s3`` when reading parquet, as this was removed in s3fs version 0.3.0 (:issue:`27756`)
7474
- Better error message when a negative header is passed in :func:`pandas.read_csv` (:issue:`27779`)
@@ -82,7 +82,7 @@ Plotting
8282
:meth:`pandas.plotting.deregister_matplotlib_converters` (:issue:`27481`).
8383
- Fix compatibility issue with matplotlib when passing a pandas ``Index`` to a plot call (:issue:`27775`).
8484

85-
Groupby/resample/rolling
85+
GroupBy/resample/rolling
8686
^^^^^^^^^^^^^^^^^^^^^^^^
8787

8888
- Fixed regression in :meth:`pands.core.groupby.DataFrameGroupBy.quantile` raising when multiple quantiles are given (:issue:`27526`)

doc/source/whatsnew/v0.25.2.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ Indexing
2121
- Fix regression in :meth:`DataFrame.reindex` not following the ``limit`` argument (:issue:`28631`).
2222
- Fix regression in :meth:`RangeIndex.get_indexer` for decreasing :class:`RangeIndex` where target values may be improperly identified as missing/present (:issue:`28678`)
2323

24-
I/O
25-
^^^
24+
IO
25+
^^
2626

2727
- Fix regression in notebook display where ``<th>`` tags were missing for :attr:`DataFrame.index` values (:issue:`28204`).
2828
- Regression in :meth:`~DataFrame.to_csv` where writing a :class:`Series` or :class:`DataFrame` indexed by an :class:`IntervalIndex` would incorrectly raise a ``TypeError`` (:issue:`28210`)
2929
- Fix :meth:`~DataFrame.to_csv` with ``ExtensionArray`` with list-like values (:issue:`28840`).
3030

31-
Groupby/resample/rolling
31+
GroupBy/resample/rolling
3232
^^^^^^^^^^^^^^^^^^^^^^^^
3333

3434
- Bug incorrectly raising an ``IndexError`` when passing a list of quantiles to :meth:`pandas.core.groupby.DataFrameGroupBy.quantile` (:issue:`28113`).

doc/source/whatsnew/v0.25.3.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ including other versions of pandas.
1111
Bug fixes
1212
~~~~~~~~~
1313

14-
Groupby/resample/rolling
14+
GroupBy/resample/rolling
1515
^^^^^^^^^^^^^^^^^^^^^^^^
1616

1717
- Bug in :meth:`DataFrameGroupBy.quantile` where NA values in the grouping could cause segfaults or incorrect results (:issue:`28882`)

doc/source/whatsnew/v1.0.0.rst

+4-8
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ You can use the alias ``"boolean"`` as well.
196196
197197
.. _whatsnew_100.convert_dtypes:
198198

199-
``convert_dtypes`` method to ease use of supported extension dtypes
199+
Method ``convert_dtypes`` to ease use of supported extension dtypes
200200
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
201201

202202
In order to encourage use of the extension dtypes ``StringDtype``,
@@ -1082,13 +1082,11 @@ Timedelta
10821082
^^^^^^^^^
10831083
- Bug in subtracting a :class:`TimedeltaIndex` or :class:`TimedeltaArray` from a ``np.datetime64`` object (:issue:`29558`)
10841084
-
1085-
-
10861085

10871086
Timezones
10881087
^^^^^^^^^
10891088

10901089
-
1091-
-
10921090

10931091

10941092
Numeric
@@ -1113,7 +1111,6 @@ Numeric
11131111
Conversion
11141112
^^^^^^^^^^
11151113

1116-
-
11171114
-
11181115

11191116
Strings
@@ -1152,7 +1149,6 @@ Indexing
11521149
Missing
11531150
^^^^^^^
11541151

1155-
-
11561152
-
11571153

11581154
MultiIndex
@@ -1162,8 +1158,8 @@ MultiIndex
11621158
- Series and MultiIndex ``.drop`` with ``MultiIndex`` raise exception if labels not in given in level (:issue:`8594`)
11631159
-
11641160

1165-
I/O
1166-
^^^
1161+
IO
1162+
^^
11671163

11681164
- :meth:`read_csv` now accepts binary mode file buffers when using the Python csv engine (:issue:`23779`)
11691165
- Bug in :meth:`DataFrame.to_json` where using a Tuple as a column or index value and using ``orient="columns"`` or ``orient="index"`` would produce invalid JSON (:issue:`20500`)
@@ -1203,7 +1199,7 @@ Plotting
12031199
- Allow :meth:`DataFrame.plot.scatter` to plot ``objects`` and ``datetime`` type data (:issue:`18755`, :issue:`30391`)
12041200
- Bug in :meth:`DataFrame.hist`, ``xrot=0`` does not work with ``by`` and subplots (:issue:`30288`).
12051201

1206-
Groupby/resample/rolling
1202+
GroupBy/resample/rolling
12071203
^^^^^^^^^^^^^^^^^^^^^^^^
12081204

12091205
- Bug in :meth:`core.groupby.DataFrameGroupBy.apply` only showing output from a single group when function returns an :class:`Index` (:issue:`28652`)

doc/source/whatsnew/v1.0.2.rst

+1-1
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`)

doc/source/whatsnew/v1.1.0.rst

+6-6
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ For example, the below now works:
4242
4343
.. _whatsnew_110.period_index_partial_string_slicing:
4444

45-
Non-monotonic PeriodIndex Partial String Slicing
45+
Non-monotonic PeriodIndex partial string slicing
4646
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4747

4848
:class:`PeriodIndex` now supports partial string slicing for non-monotonic indexes, mirroring :class:`DatetimeIndex` behavior (:issue:`31096`)
@@ -413,7 +413,7 @@ And the differences in reindexing ``df`` with ``mi_2`` and using ``method='pad'`
413413
414414
.. _whatsnew_110.notable_bug_fixes.indexing_raises_key_errors:
415415

416-
Failed Label-Based Lookups Always Raise KeyError
416+
Failed label-based lookups always raise KeyError
417417
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
418418

419419
Label lookups ``series[key]``, ``series.loc[key]`` and ``frame.loc[key]``
@@ -786,7 +786,7 @@ Optional libraries below the lowest tested version may still work, but are not c
786786

787787
See :ref:`install.dependencies` and :ref:`install.optional_dependencies` for more.
788788

789-
Development Changes
789+
Development changes
790790
^^^^^^^^^^^^^^^^^^^
791791

792792
- The minimum version of Cython is now the most recent bug-fix version (0.29.16) (:issue:`33334`).
@@ -1051,8 +1051,8 @@ MultiIndex
10511051
10521052
- Bug when joining two :class:`MultiIndex` without specifying level with different columns. Return-indexers parameter was ignored. (:issue:`34074`)
10531053

1054-
I/O
1055-
^^^
1054+
IO
1055+
^^
10561056
- 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`)
10571057
- Bug in print-out when ``display.precision`` is zero. (:issue:`20359`)
10581058
- Bug in :func:`read_json` where integer overflow was occurring when json contains big number strings. (:issue:`30320`)
@@ -1108,7 +1108,7 @@ Plotting
11081108
- Bug in :meth:`pandas.plotting.bootstrap_plot` was causing cluttered axes and overlapping labels (:issue:`34905`)
11091109
- Bug in :meth:`DataFrame.plot.scatter` caused an error when plotting variable marker sizes (:issue:`32904`)
11101110

1111-
Groupby/resample/rolling
1111+
GroupBy/resample/rolling
11121112
^^^^^^^^^^^^^^^^^^^^^^^^
11131113

11141114
- Using a :class:`pandas.api.indexers.BaseIndexer` with ``count``, ``min``, ``max``, ``median``, ``skew``, ``cov``, ``corr`` will now return correct results for any monotonic :class:`pandas.api.indexers.BaseIndexer` descendant (:issue:`32865`)

scripts/validate_rst_title_capitalization.py

+8
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
"BigQuery",
3131
"STATA",
3232
"Interval",
33+
"IntervalArray",
3334
"PEP8",
3435
"Period",
3536
"Series",
@@ -141,6 +142,13 @@
141142
"False",
142143
"Styler",
143144
"os",
145+
"UTC",
146+
"str",
147+
"msgpack",
148+
"ExtensionArray",
149+
"LZMA",
150+
"Numba",
151+
"Timestamp",
144152
}
145153

146154
CAP_EXCEPTIONS_DICT = {word.lower(): word for word in CAPITALIZATION_EXCEPTIONS}

0 commit comments

Comments
 (0)