File tree 2 files changed +23
-0
lines changed 2 files changed +23
-0
lines changed Original file line number Diff line number Diff line change 27
27
********************
28
28
29
29
This is a short introduction to pandas, geared mainly for new users.
30
+ You can see more complex recipes in the :ref: `Cookbook<cookbook> `
30
31
31
32
Customarily, we import as follows
32
33
Original file line number Diff line number Diff line change @@ -25,6 +25,22 @@ We encourage users to add to this documentation.
25
25
This is a great *First Pull Request * (to add interesting links and/or put short code inline
26
26
for existing links)
27
27
28
+ Idioms
29
+ ------
30
+
31
+ .. _cookbook.idioms :
32
+
33
+ These are some neat pandas ``idioms ``
34
+
35
+ `How to do if-then-else?
36
+ <http://stackoverflow.com/questions/17128302/python-pandas-idiom-for-if-then-else> `__
37
+
38
+ `How to split a frame with a boolean criterion?
39
+ <http://stackoverflow.com/questions/14957116/how-to-split-a-dataframe-according-to-a-boolean-criterion> `__
40
+
41
+ `How to select from a frame with complex criteria?
42
+ <http://stackoverflow.com/questions/15315452/selecting-with-complex-criteria-from-pandas-dataframe> `__
43
+
28
44
.. _cookbook.selection :
29
45
30
46
Selection
@@ -189,6 +205,9 @@ The :ref:`Resample <timeseries.resampling>` docs.
189
205
`TimeGrouping #2
190
206
<http://stackoverflow.com/questions/14569223/timegrouper-pandas> `__
191
207
208
+ `Using TimeGrouper and another grouping to create subgroups, then apply a custom function
209
+ <https://github.com/pydata/pandas/issues/3791> `__
210
+
192
211
`Resampling with custom periods
193
212
<http://stackoverflow.com/questions/15408156/resampling-with-custom-periods> `__
194
213
@@ -258,6 +277,9 @@ The :ref:`CSV <io.read_csv_table>` docs
258
277
`read_csv in action
259
278
<http://wesmckinney.com/blog/?p=635> `__
260
279
280
+ `appending to a csv
281
+ <http://stackoverflow.com/questions/17134942/pandas-dataframe-output-end-of-csv> `__
282
+
261
283
`Reading a csv chunk-by-chunk
262
284
<http://stackoverflow.com/questions/11622652/large-persistent-dataframe-in-pandas/12193309#12193309> `__
263
285
You can’t perform that action at this time.
0 commit comments