单项选择题

下列实现将df的f行的age改为1.5,正确的是()

A.df[’f’,’age’]]=1.5
B.df.loc[’f’,’age’]=1.5
C.df.iloc[’f’,’age’]=1.5
D.df.at[5,1]=1.5

微信扫码免费搜题