I have query regarding that, how to replace the single categorical NaN value instead of whole NaN's value and print whole data.
I tried below code,but it not returns whole data.
olympic_data=olympic_data.loc[31110].fillna(value='RUS')
Olympic_data
Kindly use the below code:
olympic_data.reset_index(drop= True, inplace = True)
olympic_data[(olympic_data.Athlete=='KUDUKHOV, Besik')]
olympic_data.iloc[31110,5]='RUS'
Comments
0 comments
Article is closed for comments.