diff --git a/doc/source/cookbook.rst b/doc/source/cookbook.rst index 6f0d76f6113f8..e824a3a925f4e 100644 --- a/doc/source/cookbook.rst +++ b/doc/source/cookbook.rst @@ -27,56 +27,116 @@ Selection `Boolean Rows Indexing `__ +`Using loc and iloc in selections +`__ + `Extending a panel along the minor axis `__ -`Using loc and iloc in selections -`__ +`Boolean masking in a panel +`__ + +`Selecting via the complement +`__ MultiIndexing ------------- -`Prepending a level to a multiindex -`__ +`Creating a multi-index from a labeled frame +`__ + +Slicing +~~~~~~~ `Slicing a multi-index with xs `__ +`Slicing a multi-index with xs #2 +`__ + +Sorting +~~~~~~~ + `Multi-index sorting `__ `Partial Selection, the need for sortedness `__ +Levels +~~~~~~ + +`Prepending a level to a multiindex +`__ + +`Flatten Hierarchical columns +`__ + Grouping -------- `Basic grouping with apply `__ +`Using get_group +`__ + `Apply to different items in a group `__ +`Expanding Apply +`__ + `Replacing values with groupby means `__ +`Sort by group with aggregation +`__ + +`Create multiple aggregated columns +`__ + +Timeseries +---------- + +`Between times +`__ + +Resampling +~~~~~~~~~~ + `TimeGrouping of values grouped across time `__ +`TimeGrouping #2 +`__ + +`Resampling with custom periods +`__ + +`Resample intraday frame without adding new days +`__ + +`Resample minute data +`__ + Merge ----- -Join -~~~~ +`emulate R rbind +`__ -`Joining a DataFrame to itself +`Self Join `__ -Timeseries ----------- +`How to set the index and join +`__ -`Resample intraday frame without adding new days -`__ +Plotting +-------- + +`Make Matplotlib look like R +`__ Data In/Out ----------- @@ -84,15 +144,29 @@ Data In/Out CSV ~~~ +`Reading a csv chunk-by-chunk +`__ + +`Reading the first few lines of a frame +`__ + HDF5 ~~~~ +`Simple Queries with a Timestamp Index +`__ + `Managing heteregenous data using a linked multiple table hierarchy `__ -`Simple Queries with a Timestamp Index -`__ +`Merging on-disk tables with millions of rows +`__ + +`Large Data work flows +`__ Miscellaneous ------------- +`Operating with timedeltas +`__