File tree 2 files changed +2
-12
lines changed
2 files changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -238,14 +238,9 @@ Enhancements
238
238
239
239
- support ``read_hdf/to_hdf `` API similar to ``read_csv/to_csv ``
240
240
241
- .. ipython :: python
242
- :suppress:
243
-
244
- from pandas.compat import lrange
245
-
246
241
.. ipython :: python
247
242
248
- df = pd.DataFrame({' A' : lrange (5 ), ' B' : lrange (5 )})
243
+ df = pd.DataFrame({' A' : range (5 ), ' B' : range (5 )})
249
244
df.to_hdf(' store.h5' , ' table' , append = True )
250
245
pd.read_hdf(' store.h5' , ' table' , where = [' index > 2' ])
251
246
Original file line number Diff line number Diff line change @@ -83,13 +83,8 @@ API changes
83
83
``iloc `` API to be *purely * positional based.
84
84
85
85
.. ipython :: python
86
- :suppress:
87
86
88
- from pandas.compat import lrange
89
-
90
- .. ipython :: python
91
-
92
- df = pd.DataFrame(lrange(5 ), list (' ABCDE' ), columns = [' a' ])
87
+ df = pd.DataFrame(range (5 ), index = list (' ABCDE' ), columns = [' a' ])
93
88
mask = (df.a % 2 == 0 )
94
89
mask
95
90
You can’t perform that action at this time.
0 commit comments