File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -298,6 +298,9 @@ The :ref:`Timedeltas <timeseries.timedeltas>` docs.
298298`Operating with timedeltas
299299<https://github.com/pydata/pandas/pull/2899> `__
300300
301+ `Create timedeltas with date differences
302+ <http://stackoverflow.com/questions/15683588/iterating-through-a-pandas-dataframe> `__
303+
301304Aliasing Axis Names
302305-------------------
303306
Original file line number Diff line number Diff line change @@ -836,9 +836,9 @@ convert to an integer index:
836836.. ipython :: python
837837
838838 df_new = df.reset_index()
839- df_new[df_new. index == 1.0 ]
839+ df_new[df_new[ ' index' ] == 1.0 ]
840840 # now you can also do "float selection"
841- df_new[(df_new. index >= 1.0 ) & (df_new. index < 2 )]
841+ df_new[(df_new[ ' index' ] >= 1.0 ) & (df_new[ ' index' ] < 2 )]
842842
843843
844844 .. _indexing.class :
You can’t perform that action at this time.
0 commit comments