Skip to content
14 changes: 7 additions & 7 deletions doc/source/development/contributing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ to build the documentation locally before pushing your changes.

.. _contributing.dev_c:

Installing a C Compiler
Installing a C compiler
~~~~~~~~~~~~~~~~~~~~~~~

Pandas uses C extensions (mostly written using Cython) to speed up certain
Expand Down Expand Up @@ -155,7 +155,7 @@ Let us know if you have any difficulties by opening an issue or reaching out on

.. _contributing.dev_python:

Creating a Python Environment
Creating a Python environment
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Now that you have a C compiler, create an isolated pandas development
Expand Down Expand Up @@ -209,7 +209,7 @@ See the full conda docs `here <http://conda.pydata.org/docs>`__.

.. _contributing.pip:

Creating a Python Environment (pip)
Creating a Python environment (pip)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

If you aren't using conda for your development environment, follow these instructions.
Expand Down Expand Up @@ -605,7 +605,7 @@ and run ``flake8`` on them, one after the other.

.. _contributing.import-formatting:

Import Formatting
Import formatting
~~~~~~~~~~~~~~~~~
*pandas* uses `isort <https://pypi.org/project/isort/>`__ to standardise import
formatting across the codebase.
Expand Down Expand Up @@ -651,7 +651,7 @@ The `--recursive` flag can be passed to sort all files in a directory.

You can then verify the changes look ok, then git :ref:`commit <contributing.commit-code>` and :ref:`push <contributing.push-code>`.

Backwards Compatibility
Backwards compatibility
~~~~~~~~~~~~~~~~~~~~~~~

Please try to maintain backward compatibility. *pandas* has lots of users with lots of
Expand Down Expand Up @@ -699,7 +699,7 @@ See :ref:`contributing.warnings` for more.

.. _contributing.ci:

Testing With Continuous Integration
Testing with continuous integration
-----------------------------------

The *pandas* test suite will run automatically on `Travis-CI <https://travis-ci.org/>`__ and
Expand Down Expand Up @@ -930,7 +930,7 @@ options or subtle interactions to test (or think of!) all of them.

.. _contributing.warnings:

Testing Warnings
Testing warnings
~~~~~~~~~~~~~~~~

By default, one of pandas CI workers will fail if any unhandled warnings are emitted.
Expand Down
2 changes: 1 addition & 1 deletion doc/source/development/contributing_docstring.rst
Original file line number Diff line number Diff line change
Expand Up @@ -929,7 +929,7 @@ plot will be generated automatically when building the documentation.

.. _docstring.sharing:

Sharing Docstrings
Sharing docstrings
------------------

Pandas has a system for sharing docstrings, with slight variations, between
Expand Down
14 changes: 7 additions & 7 deletions doc/source/development/extending.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{{ header }}

****************
Extending Pandas
Extending pandas
****************

While pandas provides a rich set of methods, containers, and data types, your
Expand All @@ -12,7 +12,7 @@ pandas.

.. _extending.register-accessors:

Registering Custom Accessors
Registering custom accessors
----------------------------

Libraries can use the decorators
Expand Down Expand Up @@ -70,7 +70,7 @@ applies only to certain dtypes.

.. _extending.extension-types:

Extension Types
Extension types
---------------

.. versionadded:: 0.23.0
Expand Down Expand Up @@ -210,7 +210,7 @@ will

.. _extending.extension.testing:

Testing Extension Arrays
Testing extension arrays
^^^^^^^^^^^^^^^^^^^^^^^^

We provide a test suite for ensuring that your extension arrays satisfy the expected
Expand Down Expand Up @@ -238,7 +238,7 @@ for a list of all the tests available.

.. _extending.subclassing-pandas:

Subclassing pandas Data Structures
Subclassing pandas data structures
----------------------------------

.. warning:: There are some easier alternatives before considering subclassing ``pandas`` data structures.
Expand All @@ -260,7 +260,7 @@ This section describes how to subclass ``pandas`` data structures to meet more s

You can find a nice example in `geopandas <https://github.com/geopandas/geopandas>`_ project.

Override Constructor Properties
Override constructor properties
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Each data structure has several *constructor properties* for returning a new
Expand Down Expand Up @@ -348,7 +348,7 @@ Below example shows how to define ``SubclassedSeries`` and ``SubclassedDataFrame
>>> type(sliced2)
<class '__main__.SubclassedSeries'>

Define Original Properties
Define original properties
^^^^^^^^^^^^^^^^^^^^^^^^^^

To let original data structures have additional properties, you should let ``pandas`` know what properties are added. ``pandas`` maps unknown properties to data names overriding ``__getattribute__``. Defining original properties can be done in one of 2 ways:
Expand Down
2 changes: 1 addition & 1 deletion doc/source/development/internals.rst
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ So, for example, ``Series[category]._values`` is a ``Categorical``, while

.. _ref-subclassing-pandas:

Subclassing pandas Data Structures
Subclassing pandas data structures
----------------------------------

This section has been moved to :ref:`extending.subclassing-pandas`.
8 changes: 4 additions & 4 deletions doc/source/ecosystem.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{{ header }}

****************
pandas Ecosystem
Pandas ecosystem
****************

Increasingly, packages are being built on top of pandas to address specific needs
Expand All @@ -26,7 +26,7 @@ substantial projects that you feel should be on this list, please let us know.

.. _ecosystem.stats:

Statistics and Machine Learning
Statistics and machine learning
-------------------------------

`Statsmodels <https://www.statsmodels.org/>`__
Expand Down Expand Up @@ -243,7 +243,7 @@ you can obtain for free on the FRED website.

.. _ecosystem.domain:

Domain Specific
Domain specific
---------------

`Geopandas <https://github.com/kjordahl/geopandas>`__
Expand Down Expand Up @@ -332,7 +332,7 @@ and check that they're *actually* true.

.. _ecosystem.extensions:

Extension Data Types
Extension data types
--------------------

Pandas provides an interface for defining
Expand Down
20 changes: 10 additions & 10 deletions doc/source/getting_started/10min.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{{ header }}

********************
10 Minutes to pandas
10 minutes to pandas
********************

This is a short introduction to pandas, geared mainly for new users.
Expand All @@ -16,7 +16,7 @@ Customarily, we import as follows:
import numpy as np
import pandas as pd

Object Creation
Object creation
---------------

See the :ref:`Data Structure Intro section <dsintro>`.
Expand Down Expand Up @@ -83,7 +83,7 @@ As you can see, the columns ``A``, ``B``, ``C``, and ``D`` are automatically
tab completed. ``E`` is there as well; the rest of the attributes have been
truncated for brevity.

Viewing Data
Viewing data
------------

See the :ref:`Basics section <basics>`.
Expand Down Expand Up @@ -183,7 +183,7 @@ Selecting via ``[]``, which slices the rows.
df[0:3]
df['20130102':'20130104']

Selection by Label
Selection by label
~~~~~~~~~~~~~~~~~~

See more in :ref:`Selection by Label <indexing.label>`.
Expand Down Expand Up @@ -224,7 +224,7 @@ For getting fast access to a scalar (equivalent to the prior method):

df.at[dates[0], 'A']

Selection by Position
Selection by position
~~~~~~~~~~~~~~~~~~~~~

See more in :ref:`Selection by Position <indexing.integer>`.
Expand Down Expand Up @@ -271,7 +271,7 @@ For getting fast access to a scalar (equivalent to the prior method):

df.iat[1, 1]

Boolean Indexing
Boolean indexing
~~~~~~~~~~~~~~~~

Using a single column's values to select data.
Expand Down Expand Up @@ -340,7 +340,7 @@ A ``where`` operation with setting.
df2


Missing Data
Missing data
------------

pandas primarily uses the value ``np.nan`` to represent missing data. It is by
Expand Down Expand Up @@ -580,7 +580,7 @@ With a "stacked" DataFrame or Series (having a ``MultiIndex`` as the
stacked.unstack(1)
stacked.unstack(0)

Pivot Tables
Pivot tables
~~~~~~~~~~~~
See the section on :ref:`Pivot Tables <reshaping.pivot>`.

Expand All @@ -600,7 +600,7 @@ We can produce pivot tables from this data very easily:
pd.pivot_table(df, values='D', index=['A', 'B'], columns=['C'])


Time Series
Time series
-----------

pandas has simple, powerful, and efficient functionality for performing
Expand Down Expand Up @@ -735,7 +735,7 @@ of the columns with labels:
@savefig frame_plot_basic.png
plt.legend(loc='best')

Getting Data In/Out
Getting data in/out
-------------------

CSV
Expand Down
Loading