File tree Expand file tree Collapse file tree 4 files changed +64
-0
lines changed Expand file tree Collapse file tree 4 files changed +64
-0
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ pandas 0.11.0
30
30
**New features **
31
31
32
32
- New documentation section, ``10 Minutes to Pandas ``
33
+ - New documentation section, ``Cookbook ``
33
34
- Allow mixed dtypes (e.g ``float32/float64/int32/int16/int8 ``) to coexist in
34
35
DataFrames and propogate in operations
35
36
- Add function to pandas.io.data for retrieving stock index components from
Original file line number Diff line number Diff line change
1
+ .. _cookbook :
2
+
3
+ .. currentmodule :: pandas
4
+
5
+ .. ipython :: python
6
+ :suppress:
7
+
8
+ import numpy as np
9
+ import random
10
+ import os
11
+ np.random.seed(123456 )
12
+ from pandas import *
13
+ import pandas as pd
14
+ randn = np.random.randn
15
+ randint = np.random.randint
16
+ np.set_printoptions(precision = 4 , suppress = True )
17
+
18
+ ********
19
+ Cookbook
20
+ ********
21
+
22
+ This is a respository for *short and sweet * example and links for useful pandas recipes.
23
+ We encourage users to add to this documentation. This is a great *First Pull Request *.
24
+
25
+ Selection
26
+ ---------
27
+
28
+ `Extending a panel along the minor axis
29
+ <http://stackoverflow.com/questions/15364050/extending-a-pandas-panel-frame-along-the-minor-axis> `__
30
+
31
+ Grouping
32
+ --------
33
+
34
+ `Basic grouping with apply
35
+ <http://stackoverflow.com/questions/15322632/python-pandas-df-groupy-agg-column-reference-in-agg> `__
36
+
37
+ `TimeGrouping of values grouped across time
38
+ <http://stackoverflow.com/questions/15297053/how-can-i-divide-single-values-of-a-dataframe-by-monthly-averages> `__
39
+
40
+ Merge
41
+ -----
42
+
43
+ Join
44
+ ~~~~
45
+
46
+ `Joining a DataFrame to itself
47
+ <https://github.com/pydata/pandas/issues/2996> `__
48
+
49
+ Data In/Out
50
+ -----------
51
+
52
+ CSV
53
+ ~~~
54
+
55
+ HDF5
56
+ ~~~~
57
+
58
+ Managing heteregenous data using a linked multiple table hierarchy.
59
+ See `here <https://github.com/pydata/pandas/issues/3032 >`__.
Original file line number Diff line number Diff line change @@ -113,6 +113,7 @@ See the package overview for more detail about what's in the library.
113
113
faq
114
114
overview
115
115
10min
116
+ cookbook
116
117
dsintro
117
118
basics
118
119
indexing
Original file line number Diff line number Diff line change @@ -12,6 +12,9 @@ pay close attention to.
12
12
There is a new section in the documentation, :ref:`10 Minutes to Pandas <10min>`,
13
13
primarily geared to new users.
14
14
15
+ There is a new section in the documentation, :ref:`Cookbook <cookbook>`, a collection
16
+ of useful recipes in pandas (and that we want contributions!).
17
+
15
18
There are several libraries that are now :ref:`Recommended Dependencies <install.recommended_dependencies>`
16
19
17
20
Selection Choices
You can’t perform that action at this time.
0 commit comments