@@ -286,7 +286,7 @@ New Columns
286
286
df = pd.DataFrame(
287
287
{' AAA' : [1 ,1 ,1 ,2 ,2 ,2 ,3 ,3 ], ' BBB' : [2 ,1 ,3 ,4 ,5 ,1 ,2 ,3 ]}); df
288
288
289
- Method 1 : idxmin() to get the index of the mins
289
+ Method 1 : idxmin() to get the index of the minimums
290
290
291
291
.. ipython :: python
292
292
@@ -307,7 +307,7 @@ MultiIndexing
307
307
308
308
The :ref: `multindexing <advanced.hierarchical >` docs.
309
309
310
- `Creating a multi-index from a labeled frame
310
+ `Creating a MultiIndex from a labeled frame
311
311
<http://stackoverflow.com/questions/14916358/reshaping-dataframes-in-pandas-based-on-column-labels> `__
312
312
313
313
.. ipython :: python
@@ -330,7 +330,7 @@ The :ref:`multindexing <advanced.hierarchical>` docs.
330
330
Arithmetic
331
331
**********
332
332
333
- `Performing arithmetic with a multi-index that needs broadcasting
333
+ `Performing arithmetic with a MultiIndex that needs broadcasting
334
334
<http://stackoverflow.com/questions/19501510/divide-entire-pandas-multiindex-dataframe-by-dataframe-variable/19502176#19502176> `__
335
335
336
336
.. ipython :: python
@@ -342,7 +342,7 @@ Arithmetic
342
342
Slicing
343
343
*******
344
344
345
- `Slicing a multi-index with xs
345
+ `Slicing a MultiIndex with xs
346
346
<http://stackoverflow.com/questions/12590131/how-to-slice-multindex-columns-in-pandas-dataframes> `__
347
347
348
348
.. ipython :: python
@@ -363,7 +363,7 @@ To take the cross section of the 1st level and 1st axis the index:
363
363
364
364
df.xs(' six' ,level = 1 ,axis = 0 )
365
365
366
- `Slicing a multi-index with xs, method #2
366
+ `Slicing a MultiIndex with xs, method #2
367
367
<http://stackoverflow.com/questions/14964493/multiindex-based-indexing-in-pandas> `__
368
368
369
369
.. ipython :: python
@@ -386,13 +386,13 @@ To take the cross section of the 1st level and 1st axis the index:
386
386
df.loc[(All,' Math' ),(' Exams' )]
387
387
df.loc[(All,' Math' ),(All,' II' )]
388
388
389
- `Setting portions of a multi-index with xs
389
+ `Setting portions of a MultiIndex with xs
390
390
<http://stackoverflow.com/questions/19319432/pandas-selecting-a-lower-level-in-a-dataframe-to-do-a-ffill> `__
391
391
392
392
Sorting
393
393
*******
394
394
395
- `Sort by specific column or an ordered list of columns, with a multi-index
395
+ `Sort by specific column or an ordered list of columns, with a MultiIndex
396
396
<http://stackoverflow.com/questions/14733871/mutli-index-sorting-in-pandas> `__
397
397
398
398
.. ipython :: python
@@ -664,7 +664,7 @@ The :ref:`Pivot <reshaping.pivot>` docs.
664
664
`Plot pandas DataFrame with year over year data
665
665
<http://stackoverflow.com/questions/30379789/plot-pandas-data-frame-with-year-over-year-data> `__
666
666
667
- To create year and month crosstabulation :
667
+ To create year and month cross tabulation :
668
668
669
669
.. ipython :: python
670
670
@@ -677,7 +677,7 @@ To create year and month crosstabulation:
677
677
Apply
678
678
*****
679
679
680
- `Rolling Apply to Organize - Turning embedded lists into a multi-index frame
680
+ `Rolling Apply to Organize - Turning embedded lists into a MultiIndex frame
681
681
<http://stackoverflow.com/questions/17349981/converting-pandas-dataframe-with-categorical-values-into-binary-values> `__
682
682
683
683
.. ipython :: python
@@ -1029,8 +1029,8 @@ Skip row between header and data
1029
1029
01.01.1990 05:00;21;11;12;13
1030
1030
"""
1031
1031
1032
- Option 1: pass rows explicitly to skiprows
1033
- """"""""""""""""""""""""""""""""""""""""""
1032
+ Option 1: pass rows explicitly to skip rows
1033
+ """""""""""""""""""""""""""""""""""""""""""
1034
1034
1035
1035
.. ipython :: python
1036
1036
0 commit comments