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

Lines changed: 2 additions & 2 deletions
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

Lines changed: 4 additions & 4 deletions
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

Lines changed: 2 additions & 2 deletions
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 2 deletions
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

Lines changed: 3 additions & 3 deletions
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

Lines changed: 2 additions & 2 deletions
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 7 additions & 7 deletions
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

0 commit comments

Comments
 (0)