Skip to content

Commit 8f86c3f

Browse files
committed
DOC: doc building edits
1 parent 4c65d5f commit 8f86c3f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/source/groupby.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -810,7 +810,7 @@ next). This enables some operations to be carried out rather succinctly:
810810
tsdf = pd.DataFrame(np.random.randn(1000, 3),
811811
index=pd.date_range('1/1/2000', periods=1000),
812812
columns=['A', 'B', 'C'])
813-
tsdf.ix[::2] = np.nan
813+
tsdf.iloc[::2] = np.nan
814814
grouped = tsdf.groupby(lambda x: x.year)
815815
grouped.fillna(method='pad')
816816

doc/source/io.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1400,7 +1400,7 @@ returned object:
14001400
14011401
df = pd.read_csv("data/mindex_ex.csv", index_col=[0,1])
14021402
df
1403-
df.iloc[1978]
1403+
df.loc[1978]
14041404
14051405
.. _io.multi_index_columns:
14061406

0 commit comments

Comments
 (0)