Skip to content

CLN/DOC: Change instances of "Pandas" to "pandas" in documentation #7305

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 1 commit into from
Jun 3, 2014
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
4 changes: 2 additions & 2 deletions doc/make.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ def _get_config():

import argparse
argparser = argparse.ArgumentParser(description="""
Pandas documentation builder
pandas documentation builder
""".strip())

# argparser.add_argument('-arg_name', '--arg_name',
Expand All @@ -325,7 +325,7 @@ def generate_index(api=True, single=False, **kwds):
f.write(t.render(api=api,single=single,**kwds))

import argparse
argparser = argparse.ArgumentParser(description="Pandas documentation builder",
argparser = argparse.ArgumentParser(description="pandas documentation builder",
epilog="Targets : %s" % funcd.keys())

argparser.add_argument('--no-api',
Expand Down
8 changes: 4 additions & 4 deletions doc/source/10min.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@


********************
10 Minutes to Pandas
10 Minutes to pandas
********************

This is a short introduction to pandas, geared mainly for new users.
Expand Down Expand Up @@ -344,7 +344,7 @@ A ``where`` operation with setting.
Missing Data
------------

Pandas primarily uses the value ``np.nan`` to represent missing data. It is by
pandas primarily uses the value ``np.nan`` to represent missing data. It is by
default not included in computations. See the :ref:`Missing Data section
<missing_data>`

Expand Down Expand Up @@ -445,7 +445,7 @@ Merge
Concat
~~~~~~

Pandas provides various facilities for easily combining together Series,
pandas provides various facilities for easily combining together Series,
DataFrame, and Panel objects with various kinds of set logic for the indexes
and relational algebra functionality in the case of join / merge-type
operations.
Expand Down Expand Up @@ -585,7 +585,7 @@ We can produce pivot tables from this data very easily:
Time Series
-----------

Pandas has simple, powerful, and efficient functionality for performing
pandas has simple, powerful, and efficient functionality for performing
resampling operations during frequency conversion (e.g., converting secondly
data into 5-minutely data). This is extremely common in, but not limited to,
financial applications. See the :ref:`Time Series section <timeseries>`
Expand Down
4 changes: 2 additions & 2 deletions doc/source/basics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ unlike the axis labels, cannot be assigned to.
Accelerated operations
----------------------

Pandas has support for accelerating certain types of binary numerical and boolean operations using
pandas has support for accelerating certain types of binary numerical and boolean operations using
the ``numexpr`` library (starting in 0.11.0) and the ``bottleneck`` libraries.

These libraries are especially useful when dealing with large data sets, and provide large
Expand Down Expand Up @@ -1556,7 +1556,7 @@ Working with package options
.. _basics.working_with_options:
.. versionadded:: 0.10.1

Pandas has an options system that let's you customize some aspects of it's behaviour,
pandas has an options system that let's you customize some aspects of it's behaviour,
display-related options being those the user is must likely to adjust.

Options have a full "dotted-style", case-insensitive name (e.g. ``display.max_rows``),
Expand Down
2 changes: 1 addition & 1 deletion doc/source/comparison_with_sql.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Since many potential pandas users have some familiarity with
`SQL <http://en.wikipedia.org/wiki/SQL>`_, this page is meant to provide some examples of how
various SQL operations would be performed using pandas.

If you're new to pandas, you might want to first read through :ref:`10 Minutes to Pandas<10min>`
If you're new to pandas, you might want to first read through :ref:`10 Minutes to pandas<10min>`
to familiarize yourself with the library.

As is customary, we import pandas and numpy as follows:
Expand Down
2 changes: 1 addition & 1 deletion doc/source/cookbook.rst
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ Storing Attributes to a group node
Binary Files
~~~~~~~~~~~~

Pandas readily accepts numpy record arrays, if you need to read in a binary
pandas readily accepts numpy record arrays, if you need to read in a binary
file consisting of an array of C structs. For example, given this C program
in a file called ``main.c`` compiled with ``gcc main.c -std=gnu99`` on a
64-bit machine,
Expand Down
3 changes: 1 addition & 2 deletions doc/source/ecosystem.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. _ecosystem:

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

Increasingly, packages are being built on top of pandas to address specific needs
Expand Down Expand Up @@ -89,4 +89,3 @@ Domain Specific
Geopandas extends pandas data objects to include geographic information which support
geometric operations. If your work entails maps and geographical coordinates, and
you love pandas, you should take a close look at Geopandas.

6 changes: 3 additions & 3 deletions doc/source/faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Frequently Asked Questions (FAQ)
How do I control the way my DataFrame is displayed?
---------------------------------------------------

Pandas users rely on a variety of environments for using pandas: scripts, terminal,
pandas users rely on a variety of environments for using pandas: scripts, terminal,
IPython qtconsole/ notebook, (IDLE, spyder, etc').
Each environment has it's own capabilities and limitations: HTML support,
horizontal scrolling, auto-detection of width/height.
Expand Down Expand Up @@ -64,10 +64,10 @@ options automatically when starting up.

.. _ref-monkey-patching:

Adding Features to your Pandas Installation
Adding Features to your pandas Installation
-------------------------------------------

Pandas is a powerful tool and already has a plethora of data manipulation
pandas is a powerful tool and already has a plethora of data manipulation
operations implemented, most of them are very fast as well.
It's very possible however that certain functionality that would make your
life easier is missing. In that case you have several options:
Expand Down
4 changes: 2 additions & 2 deletions doc/source/gotchas.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ Caveats and Gotchas

.. _gotchas.truth:

Using If/Truth Statements with Pandas
Using If/Truth Statements with pandas
-------------------------------------

Pandas follows the numpy convention of raising an error when you try to convert something to a ``bool``.
pandas follows the numpy convention of raising an error when you try to convert something to a ``bool``.
This happens in a ``if`` or when using the boolean operations, ``and``, ``or``, or ``not``. It is not clear
what the result of

Expand Down
2 changes: 1 addition & 1 deletion doc/source/index.rst.template
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. Pandas documentation master file, created by
.. pandas documentation master file, created by

*********************************************
pandas: powerful Python data analysis toolkit
Expand Down
14 changes: 7 additions & 7 deletions doc/source/indexing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Different Choices for Indexing (``loc``, ``iloc``, and ``ix``)
.. versionadded:: 0.11.0

Object selection has had a number of user-requested additions in order to
support more explicit location based indexing. Pandas now supports three types
support more explicit location based indexing. pandas now supports three types
of multi-axis indexing.

- ``.loc`` is strictly label based, will raise ``KeyError`` when the items are
Expand Down Expand Up @@ -275,7 +275,7 @@ Selection By Label
This is sometimes called ``chained assignment`` and should be avoided.
See :ref:`Returning a View versus Copy <indexing.view_versus_copy>`

Pandas provides a suite of methods in order to have **purely label based indexing**. This is a strict inclusion based protocol.
pandas provides a suite of methods in order to have **purely label based indexing**. This is a strict inclusion based protocol.
**ALL** of the labels for which you ask, must be in the index or a ``KeyError`` will be raised! When slicing, the start bound is *included*, **AND** the stop bound is *included*. Integers are valid labels, but they refer to the label **and not the position**.

The ``.loc`` attribute is the primary access method. The following are valid inputs:
Expand Down Expand Up @@ -346,7 +346,7 @@ Selection By Position
This is sometimes called ``chained assignment`` and should be avoided.
See :ref:`Returning a View versus Copy <indexing.view_versus_copy>`

Pandas provides a suite of methods in order to get **purely integer based indexing**. The semantics follow closely python and numpy slicing. These are ``0-based`` indexing. When slicing, the start bounds is *included*, while the upper bound is *excluded*. Trying to use a non-integer, even a **valid** label will raise a ``IndexError``.
pandas provides a suite of methods in order to get **purely integer based indexing**. The semantics follow closely python and numpy slicing. These are ``0-based`` indexing. When slicing, the start bounds is *included*, while the upper bound is *excluded*. Trying to use a non-integer, even a **valid** label will raise a ``IndexError``.

The ``.iloc`` attribute is the primary access method. The following are valid inputs:

Expand Down Expand Up @@ -1158,7 +1158,7 @@ Advanced Indexing with ``.ix``

The recent addition of ``.loc`` and ``.iloc`` have enabled users to be quite
explicit about indexing choices. ``.ix`` allows a great flexibility to
specify indexing locations by *label* and/or *integer position*. Pandas will
specify indexing locations by *label* and/or *integer position*. pandas will
attempt to use any passed *integer* as *label* locations first (like what
``.loc`` would do, then to fall back on *positional* indexing, like what
``.iloc`` would do). See :ref:`Fallback Indexing <indexing.fallback>` for
Expand Down Expand Up @@ -1509,10 +1509,10 @@ Fallback indexing
.. _indexing.fallback:

Float indexes should be used only with caution. If you have a float indexed
``DataFrame`` and try to select using an integer, the row that Pandas returns
might not be what you expect. Pandas first attempts to use the *integer*
``DataFrame`` and try to select using an integer, the row that pandas returns
might not be what you expect. pandas first attempts to use the *integer*
as a *label* location, but fails to find a match (because the types
are not equal). Pandas then falls back to back to positional indexing.
are not equal). pandas then falls back to back to positional indexing.

.. ipython:: python

Expand Down
2 changes: 1 addition & 1 deletion doc/source/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ _____________

Stable installers available on `PyPI <http://pypi.python.org/pypi/pandas>`__

Preliminary builds and installers on the `Pandas download page <http://pandas.pydata.org/getpandas.html>`__ .
Preliminary builds and installers on the `pandas download page <http://pandas.pydata.org/getpandas.html>`__ .

Overview
___________
Expand Down
11 changes: 5 additions & 6 deletions doc/source/io.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
IO Tools (Text, CSV, HDF5, ...)
*******************************

The Pandas I/O api is a set of top level ``reader`` functions accessed like ``pd.read_csv()`` that generally return a ``pandas``
The pandas I/O api is a set of top level ``reader`` functions accessed like ``pd.read_csv()`` that generally return a ``pandas``
object.

* :ref:`read_csv<io.read_csv_table>`
Expand Down Expand Up @@ -515,7 +515,7 @@ If you have ``parse_dates`` enabled for some or all of your columns, and your
datetime strings are all formatted the same way, you may get a large speed
up by setting ``infer_datetime_format=True``. If set, pandas will attempt
to guess the format of your datetime strings, and then use a faster means
of parsing the strings. 5-10x parsing speeds have been observed. Pandas
of parsing the strings. 5-10x parsing speeds have been observed. pandas
will fallback to the usual parsing if either the format cannot be guessed
or the format that was guessed cannot properly parse the entire column
of strings. So in general, ``infer_datetime_format`` should not have any
Expand Down Expand Up @@ -1438,7 +1438,7 @@ Dates written in nanoseconds need to be read back in nanoseconds:
dfju = pd.read_json(json, date_unit='ms')
dfju

# Let Pandas detect the correct precision
# Let pandas detect the correct precision
dfju = pd.read_json(json)
dfju

Expand Down Expand Up @@ -1518,7 +1518,7 @@ Normalization

.. versionadded:: 0.13.0

Pandas provides a utility function to take a dict or list of dicts and *normalize* this semi-structured data
pandas provides a utility function to take a dict or list of dicts and *normalize* this semi-structured data
into a flat table.

.. ipython:: python
Expand Down Expand Up @@ -2174,7 +2174,7 @@ for some advanced strategies
.. note::

``PyTables`` 3.0.0 was recently released to enable support for Python 3.
Pandas should be fully compatible (and previously written stores should be
pandas should be fully compatible (and previously written stores should be
backwards compatible) with all ``PyTables`` >= 2.3. For ``python >= 3.2``,
``pandas >= 0.12.0`` is required for compatibility.

Expand Down Expand Up @@ -3627,4 +3627,3 @@ And here's the code

def test_csv_read():
pd.read_csv('test.csv',index_col=0)

2 changes: 1 addition & 1 deletion doc/source/missing_data.rst
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ Datetimes

For datetime64[ns] types, ``NaT`` represents missing values. This is a pseudo-native
sentinel value that can be represented by numpy in a singular dtype (datetime64[ns]).
Pandas objects provide intercompatibility between ``NaT`` and ``NaN``.
pandas objects provide intercompatibility between ``NaT`` and ``NaN``.

.. ipython:: python

Expand Down
4 changes: 2 additions & 2 deletions doc/source/remote_data.rst
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ Dataset names are listed at `Fama/French Data Library
World Bank
----------

``Pandas`` users can easily access thousands of panel data series from the
``pandas`` users can easily access thousands of panel data series from the
`World Bank's World Development Indicators <http://data.worldbank.org>`__
by using the ``wb`` I/O functions.

Expand Down Expand Up @@ -170,7 +170,7 @@ contracts around the world.
4027 IT.MOB.COV.ZS Population coverage of mobile cellular telepho...

Notice that this second search was much faster than the first one because
``Pandas`` now has a cached list of available data series.
``pandas`` now has a cached list of available data series.

.. code-block:: python

Expand Down
5 changes: 2 additions & 3 deletions doc/source/timeseries.rst
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,7 @@ in pandas.

Legacy Aliases
~~~~~~~~~~~~~~
Note that prior to v0.8.0, time rules had a slightly different look. Pandas
Note that prior to v0.8.0, time rules had a slightly different look. pandas
will continue to support the legacy time rules for the time being but it is
strongly recommended that you switch to using the new offset aliases.

Expand Down Expand Up @@ -1509,7 +1509,7 @@ Numpy < 1.7 Compatibility
~~~~~~~~~~~~~~~~~~~~~~~~~

Numpy < 1.7 has a broken ``timedelta64`` type that does not correctly work
for arithmetic. Pandas bypasses this, but for frequency conversion as above,
for arithmetic. pandas bypasses this, but for frequency conversion as above,
you need to create the divisor yourself. The ``np.timetimedelta64`` type only
has 1 argument, the number of **micro** seconds.

Expand All @@ -1524,4 +1524,3 @@ The following are equivalent statements in the two versions of numpy.
else:
y / np.timedelta64(1,'D')
y / np.timedelta64(1,'s')

8 changes: 4 additions & 4 deletions doc/source/tutorials.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ This is a guide to many pandas tutorials, geared mainly for new users.
Internal Guides
---------------

Pandas own :ref:`10 Minutes to Pandas<10min>`
pandas own :ref:`10 Minutes to pandas<10min>`

More complex recipes are in the :ref:`Cookbook<cookbook>`

Pandas Cookbook
pandas Cookbook
---------------

The goal of this cookbook (by `Julia Evans <http://jvns.ca>`_) is to
Expand Down Expand Up @@ -54,7 +54,7 @@ See `How to use this cookbook <https://github.com/jvns/pandas-cookbook#how-to-us
to be really easy.


Lessons for New Pandas Users
Lessons for New pandas Users
----------------------------

For more resources, please visit the main `repository <https://bitbucket.org/hrojas/learn-pandas>`_.
Expand Down Expand Up @@ -117,7 +117,7 @@ Excel charts with pandas, vincent and xlsxwriter
Various Tutorials
-----------------

- `Wes McKinney's (Pandas BDFL) blog <http://blog.wesmckinney.com/>`_
- `Wes McKinney's (pandas BDFL) blog <http://blog.wesmckinney.com/>`_
- `Statistical analysis made easy in Python with SciPy and pandas DataFrames, by Randal Olson <http://www.randalolson.com/2012/08/06/statistical-analysis-made-easy-in-python/>`_
- `Statistical Data Analysis in Python, tutorial videos, by Christopher Fonnesbeck from SciPy 2013 <http://conference.scipy.org/scipy2013/tutorial_detail.php?id=109>`_
- `Financial analysis in python, by Thomas Wiecki <http://nbviewer.ipython.org/github/twiecki/financial-analysis-python-tutorial/blob/master/1.%20Pandas%20Basics.ipynb>`_
Expand Down
3 changes: 1 addition & 2 deletions doc/source/visualization.rst
Original file line number Diff line number Diff line change
Expand Up @@ -854,7 +854,7 @@ with "(right)" in the legend. To turn off the automatic marking, use the
Suppressing Tick Resolution Adjustment
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Pandas includes automatically tick resolution adjustment for regular frequency
pandas includes automatically tick resolution adjustment for regular frequency
time-series data. For limited cases where pandas cannot infer the frequency
information (e.g., in an externally created ``twinx``), you can choose to
suppress this behavior for alignment purposes.
Expand Down Expand Up @@ -1144,4 +1144,3 @@ when plotting a large number of points.
:suppress:

plt.close('all')