You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/source/indexing.rst
+7-7
Original file line number
Diff line number
Diff line change
@@ -60,7 +60,7 @@ Different Choices for Indexing (``loc``, ``iloc``, and ``ix``)
60
60
.. versionadded:: 0.11.0
61
61
62
62
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
64
64
of multi-axis indexing.
65
65
66
66
- ``.loc`` is strictly label based, will raise ``KeyError`` when the items are
@@ -275,7 +275,7 @@ Selection By Label
275
275
This is sometimes called ``chained assignment`` and should be avoided.
276
276
See :ref:`Returning a View versus Copy <indexing.view_versus_copy>`
277
277
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.
279
279
**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**.
280
280
281
281
The ``.loc`` attribute is the primary access method. The following are valid inputs:
@@ -346,7 +346,7 @@ Selection By Position
346
346
This is sometimes called ``chained assignment`` and should be avoided.
347
347
See :ref:`Returning a View versus Copy <indexing.view_versus_copy>`
348
348
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``.
350
350
351
351
The ``.iloc`` attribute is the primary access method. The following are valid inputs:
352
352
@@ -1158,7 +1158,7 @@ Advanced Indexing with ``.ix``
1158
1158
1159
1159
The recent addition of ``.loc`` and ``.iloc`` have enabled users to be quite
1160
1160
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
1162
1162
attempt to use any passed *integer* as *label* locations first (like what
1163
1163
``.loc`` would do, then to fall back on *positional* indexing, like what
1164
1164
``.iloc`` would do). See :ref:`Fallback Indexing <indexing.fallback>` for
@@ -1509,10 +1509,10 @@ Fallback indexing
1509
1509
.. _indexing.fallback:
1510
1510
1511
1511
Float indexes should be used only with caution. If you have a float indexed
1512
-
``DataFrame``andtry 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``andtry to select using an integer, the row that pandas returns
1513
+
might not be what you expect. pandas first attempts to use the *integer*
1514
1514
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.
Copy file name to clipboardExpand all lines: doc/source/tutorials.rst
+4-4
Original file line number
Diff line number
Diff line change
@@ -9,11 +9,11 @@ This is a guide to many pandas tutorials, geared mainly for new users.
9
9
Internal Guides
10
10
---------------
11
11
12
-
Pandas own :ref:`10 Minutes to Pandas<10min>`
12
+
pandas own :ref:`10 Minutes to pandas<10min>`
13
13
14
14
More complex recipes are in the :ref:`Cookbook<cookbook>`
15
15
16
-
Pandas Cookbook
16
+
pandas Cookbook
17
17
---------------
18
18
19
19
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
54
54
to be really easy.
55
55
56
56
57
-
Lessons for New Pandas Users
57
+
Lessons for New pandas Users
58
58
----------------------------
59
59
60
60
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
117
117
Various Tutorials
118
118
-----------------
119
119
120
-
- `Wes McKinney's (Pandas BDFL) blog <http://blog.wesmckinney.com/>`_
120
+
- `Wes McKinney's (pandas BDFL) blog <http://blog.wesmckinney.com/>`_
121
121
- `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/>`_
122
122
- `Statistical Data Analysis in Python, tutorial videos, by Christopher Fonnesbeck from SciPy 2013 <http://conference.scipy.org/scipy2013/tutorial_detail.php?id=109>`_
123
123
- `Financial analysis in python, by Thomas Wiecki <http://nbviewer.ipython.org/github/twiecki/financial-analysis-python-tutorial/blob/master/1.%20Pandas%20Basics.ipynb>`_
0 commit comments