Skip to content

DOC: Fix heading capitalization in doc/source/whatsnew - part4 (#32550) #33444

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Apr 17, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions doc/source/whatsnew/v0.14.0.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. _whatsnew_0140:

v0.14.0 (May 31 , 2014)
-----------------------
Version 0.14.0 (May 31 , 2014)
------------------------------

{{ header }}

Expand Down Expand Up @@ -321,7 +321,7 @@ Text parsing API changes

.. _whatsnew_0140.groupby:

Groupby API changes
GroupBy API changes
~~~~~~~~~~~~~~~~~~~

More consistent behavior for some groupby methods:
Expand Down Expand Up @@ -473,8 +473,8 @@ Some other enhancements to the sql functions include:

.. _whatsnew_0140.slicers:

Multiindexing using slicers
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Multi-indexing using slicers
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In 0.14.0 we added a new way to slice MultiIndexed objects.
You can slice a MultiIndex by providing multiple indexers.
Expand Down
4 changes: 2 additions & 2 deletions doc/source/whatsnew/v0.14.1.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. _whatsnew_0141:

v0.14.1 (July 11, 2014)
-----------------------
Version 0.14.1 (July 11, 2014)
------------------------------

{{ header }}

Expand Down
12 changes: 6 additions & 6 deletions doc/source/whatsnew/v0.15.0.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. _whatsnew_0150:

v0.15.0 (October 18, 2014)
--------------------------
Version 0.15.0 (October 18, 2014)
---------------------------------

{{ header }}

Expand Down Expand Up @@ -105,7 +105,7 @@ For full docs, see the :ref:`categorical introduction <categorical>` and the

.. _whatsnew_0150.timedeltaindex:

TimedeltaIndex/Scalar
TimedeltaIndex/scalar
^^^^^^^^^^^^^^^^^^^^^

We introduce a new scalar type ``Timedelta``, which is a subclass of ``datetime.timedelta``, and behaves in a similar manner,
Expand Down Expand Up @@ -247,8 +247,8 @@ Additionally :meth:`~pandas.DataFrame.memory_usage` is an available method for a

.. _whatsnew_0150.dt:

.dt accessor
^^^^^^^^^^^^
Series.dt accessor
^^^^^^^^^^^^^^^^^^

``Series`` has gained an accessor to succinctly return datetime like properties for the *values* of the Series, if its a datetime/period like Series. (:issue:`7207`)
This will return a Series, indexed like the existing Series. See the :ref:`docs <basics.dt_accessors>`
Expand Down Expand Up @@ -600,7 +600,7 @@ Rolling/expanding moments improvements

.. _whatsnew_0150.sql:

Improvements in the SQL io module
Improvements in the SQL IO module
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

- Added support for a ``chunksize`` parameter to ``to_sql`` function. This allows DataFrame to be written in chunks and avoid packet-size overflow errors (:issue:`8062`).
Expand Down
4 changes: 2 additions & 2 deletions doc/source/whatsnew/v0.15.1.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. _whatsnew_0151:

v0.15.1 (November 9, 2014)
--------------------------
Version 0.15.1 (November 9, 2014)
---------------------------------

{{ header }}

Expand Down
4 changes: 2 additions & 2 deletions doc/source/whatsnew/v0.15.2.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. _whatsnew_0152:

v0.15.2 (December 12, 2014)
---------------------------
Version 0.15.2 (December 12, 2014)
----------------------------------

{{ header }}

Expand Down
6 changes: 3 additions & 3 deletions doc/source/whatsnew/v0.16.0.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. _whatsnew_0160:

v0.16.0 (March 22, 2015)
------------------------
Version 0.16.0 (March 22, 2015)
-------------------------------

{{ header }}

Expand Down Expand Up @@ -218,7 +218,7 @@ Backwards incompatible API changes

.. _whatsnew_0160.api_breaking.timedelta:

Changes in Timedelta
Changes in timedelta
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this stay capitalized?

^^^^^^^^^^^^^^^^^^^^

In v0.15.0 a new scalar type ``Timedelta`` was introduced, that is a
Expand Down
4 changes: 2 additions & 2 deletions doc/source/whatsnew/v0.16.1.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. _whatsnew_0161:

v0.16.1 (May 11, 2015)
----------------------
Version 0.16.1 (May 11, 2015)
-----------------------------

{{ header }}

Expand Down
4 changes: 2 additions & 2 deletions doc/source/whatsnew/v0.16.2.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. _whatsnew_0162:

v0.16.2 (June 12, 2015)
-----------------------
Version 0.16.2 (June 12, 2015)
------------------------------

{{ header }}

Expand Down
12 changes: 6 additions & 6 deletions doc/source/whatsnew/v0.17.0.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. _whatsnew_0170:

v0.17.0 (October 9, 2015)
-------------------------
Version 0.17.0 (October 9, 2015)
--------------------------------

{{ header }}

Expand Down Expand Up @@ -181,8 +181,8 @@ Each method signature only includes relevant arguments. Currently, these are lim
Additional methods for ``dt`` accessor
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

strftime
""""""""
Series.dt.strftime
""""""""""""""""""

We are now supporting a ``Series.dt.strftime`` method for datetime-likes to generate a formatted string (:issue:`10110`). Examples:

Expand All @@ -202,8 +202,8 @@ We are now supporting a ``Series.dt.strftime`` method for datetime-likes to gene

The string format is as the python standard library and details can be found `here <https://docs.python.org/2/library/datetime.html#strftime-and-strptime-behavior>`_

total_seconds
"""""""""""""
Series.dt.total_seconds
"""""""""""""""""""""""

``pd.Series`` of type ``timedelta64`` has new method ``.dt.total_seconds()`` returning the duration of the timedelta in seconds (:issue:`10817`)

Expand Down
4 changes: 2 additions & 2 deletions doc/source/whatsnew/v0.17.1.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. _whatsnew_0171:

v0.17.1 (November 21, 2015)
---------------------------
Version 0.17.1 (November 21, 2015)
----------------------------------

{{ header }}

Expand Down
9 changes: 9 additions & 0 deletions scripts/validate_rst_title_capitalization.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
"DatetimeIndex",
"IntervalIndex",
"CategoricalIndex",
"Categorical",
"GroupBy",
"SPSS",
"ORC",
Expand Down Expand Up @@ -112,6 +113,14 @@
"November",
"December",
"Float64Index",
"TZ",
"GIL",
"strftime",
"XPORT",
"Unicode",
"East",
"Asian",
"None",
}

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