Skip to content

Commit 5149aac

Browse files
Merge pull request #7305 from bwignall/pandas-cap
CLN/DOC: Change instances of "Pandas" to "pandas" in documentation
2 parents ee852ba + 34f1acc commit 5149aac

17 files changed

+40
-44
lines changed

doc/make.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ def _get_config():
300300

301301
import argparse
302302
argparser = argparse.ArgumentParser(description="""
303-
Pandas documentation builder
303+
pandas documentation builder
304304
""".strip())
305305

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

327327
import argparse
328-
argparser = argparse.ArgumentParser(description="Pandas documentation builder",
328+
argparser = argparse.ArgumentParser(description="pandas documentation builder",
329329
epilog="Targets : %s" % funcd.keys())
330330

331331
argparser.add_argument('--no-api',

doc/source/10min.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
2323
2424
********************
25-
10 Minutes to Pandas
25+
10 Minutes to pandas
2626
********************
2727

2828
This is a short introduction to pandas, geared mainly for new users.
@@ -344,7 +344,7 @@ A ``where`` operation with setting.
344344
Missing Data
345345
------------
346346

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

@@ -445,7 +445,7 @@ Merge
445445
Concat
446446
~~~~~~
447447

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

588-
Pandas has simple, powerful, and efficient functionality for performing
588+
pandas has simple, powerful, and efficient functionality for performing
589589
resampling operations during frequency conversion (e.g., converting secondly
590590
data into 5-minutely data). This is extremely common in, but not limited to,
591591
financial applications. See the :ref:`Time Series section <timeseries>`

doc/source/basics.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ unlike the axis labels, cannot be assigned to.
9393
Accelerated operations
9494
----------------------
9595

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

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

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

15621562
Options have a full "dotted-style", case-insensitive name (e.g. ``display.max_rows``),

doc/source/comparison_with_sql.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Since many potential pandas users have some familiarity with
77
`SQL <http://en.wikipedia.org/wiki/SQL>`_, this page is meant to provide some examples of how
88
various SQL operations would be performed using pandas.
99

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

1313
As is customary, we import pandas and numpy as follows:

doc/source/cookbook.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ Storing Attributes to a group node
551551
Binary Files
552552
~~~~~~~~~~~~
553553

554-
Pandas readily accepts numpy record arrays, if you need to read in a binary
554+
pandas readily accepts numpy record arrays, if you need to read in a binary
555555
file consisting of an array of C structs. For example, given this C program
556556
in a file called ``main.c`` compiled with ``gcc main.c -std=gnu99`` on a
557557
64-bit machine,

doc/source/ecosystem.rst

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.. _ecosystem:
22

33
****************
4-
Pandas Ecosystem
4+
pandas Ecosystem
55
****************
66

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

doc/source/faq.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Frequently Asked Questions (FAQ)
3030
How do I control the way my DataFrame is displayed?
3131
---------------------------------------------------
3232

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

6565
.. _ref-monkey-patching:
6666

67-
Adding Features to your Pandas Installation
67+
Adding Features to your pandas Installation
6868
-------------------------------------------
6969

70-
Pandas is a powerful tool and already has a plethora of data manipulation
70+
pandas is a powerful tool and already has a plethora of data manipulation
7171
operations implemented, most of them are very fast as well.
7272
It's very possible however that certain functionality that would make your
7373
life easier is missing. In that case you have several options:

doc/source/gotchas.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ Caveats and Gotchas
1818

1919
.. _gotchas.truth:
2020

21-
Using If/Truth Statements with Pandas
21+
Using If/Truth Statements with pandas
2222
-------------------------------------
2323

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

doc/source/index.rst.template

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.. Pandas documentation master file, created by
1+
.. pandas documentation master file, created by
22

33
*********************************************
44
pandas: powerful Python data analysis toolkit

doc/source/indexing.rst

+7-7
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Different Choices for Indexing (``loc``, ``iloc``, and ``ix``)
6060
.. versionadded:: 0.11.0
6161

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

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

278-
Pandas provides a suite of methods in order to have **purely label based indexing**. This is a strict inclusion based protocol.
278+
pandas provides a suite of methods in order to have **purely label based indexing**. This is a strict inclusion based protocol.
279279
**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**.
280280

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

349-
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``.
349+
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``.
350350

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

@@ -1158,7 +1158,7 @@ Advanced Indexing with ``.ix``
11581158

11591159
The recent addition of ``.loc`` and ``.iloc`` have enabled users to be quite
11601160
explicit about indexing choices. ``.ix`` allows a great flexibility to
1161-
specify indexing locations by *label* and/or *integer position*. Pandas will
1161+
specify indexing locations by *label* and/or *integer position*. pandas will
11621162
attempt to use any passed *integer* as *label* locations first (like what
11631163
``.loc`` would do, then to fall back on *positional* indexing, like what
11641164
``.iloc`` would do). See :ref:`Fallback Indexing <indexing.fallback>` for
@@ -1509,10 +1509,10 @@ Fallback indexing
15091509
.. _indexing.fallback:
15101510
15111511
Float indexes should be used only with caution. If you have a float indexed
1512-
``DataFrame`` and try to select using an integer, the row that Pandas returns
1513-
might not be what you expect. Pandas first attempts to use the *integer*
1512+
``DataFrame`` and try to select using an integer, the row that pandas returns
1513+
might not be what you expect. pandas first attempts to use the *integer*
15141514
as a *label* location, but fails to find a match (because the types
1515-
are not equal). Pandas then falls back to back to positional indexing.
1515+
are not equal). pandas then falls back to back to positional indexing.
15161516
15171517
.. ipython:: python
15181518

doc/source/install.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ _____________
2929

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

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

3434
Overview
3535
___________

doc/source/io.rst

+5-6
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
IO Tools (Text, CSV, HDF5, ...)
3030
*******************************
3131

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

3535
* :ref:`read_csv<io.read_csv_table>`
@@ -515,7 +515,7 @@ If you have ``parse_dates`` enabled for some or all of your columns, and your
515515
datetime strings are all formatted the same way, you may get a large speed
516516
up by setting ``infer_datetime_format=True``. If set, pandas will attempt
517517
to guess the format of your datetime strings, and then use a faster means
518-
of parsing the strings. 5-10x parsing speeds have been observed. Pandas
518+
of parsing the strings. 5-10x parsing speeds have been observed. pandas
519519
will fallback to the usual parsing if either the format cannot be guessed
520520
or the format that was guessed cannot properly parse the entire column
521521
of strings. So in general, ``infer_datetime_format`` should not have any
@@ -1438,7 +1438,7 @@ Dates written in nanoseconds need to be read back in nanoseconds:
14381438
dfju = pd.read_json(json, date_unit='ms')
14391439
dfju
14401440
1441-
# Let Pandas detect the correct precision
1441+
# Let pandas detect the correct precision
14421442
dfju = pd.read_json(json)
14431443
dfju
14441444
@@ -1518,7 +1518,7 @@ Normalization
15181518

15191519
.. versionadded:: 0.13.0
15201520

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

15241524
.. ipython:: python
@@ -2174,7 +2174,7 @@ for some advanced strategies
21742174
.. note::
21752175

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

@@ -3627,4 +3627,3 @@ And here's the code
36273627
36283628
def test_csv_read():
36293629
pd.read_csv('test.csv',index_col=0)
3630-

doc/source/missing_data.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ Datetimes
9494

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

9999
.. ipython:: python
100100

doc/source/remote_data.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ Dataset names are listed at `Fama/French Data Library
102102
World Bank
103103
----------
104104

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

@@ -170,7 +170,7 @@ contracts around the world.
170170
4027 IT.MOB.COV.ZS Population coverage of mobile cellular telepho...
171171
172172
Notice that this second search was much faster than the first one because
173-
``Pandas`` now has a cached list of available data series.
173+
``pandas`` now has a cached list of available data series.
174174
175175
.. code-block:: python
176176

doc/source/timeseries.rst

+2-3
Original file line numberDiff line numberDiff line change
@@ -736,7 +736,7 @@ in pandas.
736736

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

@@ -1509,7 +1509,7 @@ Numpy < 1.7 Compatibility
15091509
~~~~~~~~~~~~~~~~~~~~~~~~~
15101510

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

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

doc/source/tutorials.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ This is a guide to many pandas tutorials, geared mainly for new users.
99
Internal Guides
1010
---------------
1111

12-
Pandas own :ref:`10 Minutes to Pandas<10min>`
12+
pandas own :ref:`10 Minutes to pandas<10min>`
1313

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

16-
Pandas Cookbook
16+
pandas Cookbook
1717
---------------
1818

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

5656

57-
Lessons for New Pandas Users
57+
Lessons for New pandas Users
5858
----------------------------
5959

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

120-
- `Wes McKinney's (Pandas BDFL) blog <http://blog.wesmckinney.com/>`_
120+
- `Wes McKinney's (pandas BDFL) blog <http://blog.wesmckinney.com/>`_
121121
- `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/>`_
122122
- `Statistical Data Analysis in Python, tutorial videos, by Christopher Fonnesbeck from SciPy 2013 <http://conference.scipy.org/scipy2013/tutorial_detail.php?id=109>`_
123123
- `Financial analysis in python, by Thomas Wiecki <http://nbviewer.ipython.org/github/twiecki/financial-analysis-python-tutorial/blob/master/1.%20Pandas%20Basics.ipynb>`_

doc/source/visualization.rst

+1-2
Original file line numberDiff line numberDiff line change
@@ -854,7 +854,7 @@ with "(right)" in the legend. To turn off the automatic marking, use the
854854
Suppressing Tick Resolution Adjustment
855855
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
856856

857-
Pandas includes automatically tick resolution adjustment for regular frequency
857+
pandas includes automatically tick resolution adjustment for regular frequency
858858
time-series data. For limited cases where pandas cannot infer the frequency
859859
information (e.g., in an externally created ``twinx``), you can choose to
860860
suppress this behavior for alignment purposes.
@@ -1144,4 +1144,3 @@ when plotting a large number of points.
11441144
:suppress:
11451145
11461146
plt.close('all')
1147-

0 commit comments

Comments
 (0)