File tree Expand file tree Collapse file tree 2 files changed +2
-12
lines changed
Expand file tree Collapse file tree 2 files changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -238,14 +238,9 @@ Enhancements
238238
239239 - support ``read_hdf/to_hdf `` API similar to ``read_csv/to_csv ``
240240
241- .. ipython :: python
242- :suppress:
243-
244- from pandas.compat import lrange
245-
246241 .. ipython :: python
247242
248- df = pd.DataFrame({' A' : lrange (5 ), ' B' : lrange (5 )})
243+ df = pd.DataFrame({' A' : range (5 ), ' B' : range (5 )})
249244 df.to_hdf(' store.h5' , ' table' , append = True )
250245 pd.read_hdf(' store.h5' , ' table' , where = [' index > 2' ])
251246
Original file line number Diff line number Diff line change @@ -83,13 +83,8 @@ API changes
8383 ``iloc `` API to be *purely * positional based.
8484
8585 .. ipython :: python
86- :suppress:
8786
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' ])
9388 mask = (df.a % 2 == 0 )
9489 mask
9590
You can’t perform that action at this time.
0 commit comments