We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c65d5f commit 8f86c3fCopy full SHA for 8f86c3f
doc/source/groupby.rst
@@ -810,7 +810,7 @@ next). This enables some operations to be carried out rather succinctly:
810
tsdf = pd.DataFrame(np.random.randn(1000, 3),
811
index=pd.date_range('1/1/2000', periods=1000),
812
columns=['A', 'B', 'C'])
813
- tsdf.ix[::2] = np.nan
+ tsdf.iloc[::2] = np.nan
814
grouped = tsdf.groupby(lambda x: x.year)
815
grouped.fillna(method='pad')
816
doc/source/io.rst
@@ -1400,7 +1400,7 @@ returned object:
1400
1401
df = pd.read_csv("data/mindex_ex.csv", index_col=[0,1])
1402
df
1403
- df.iloc[1978]
+ df.loc[1978]
1404
1405
.. _io.multi_index_columns:
1406
0 commit comments