Reputation: 11
I want to delete the dataframe index value specific like in 11th row 80 value using python dataframe pandas. I want to delete the value at the 11th row column no. of clients 86. I want to delete specific 86 only not row or column using python.
Upvotes: 0
Views: 17693
Reputation: 30639
If 'delete' means 'set to zero', then you can set the value in column 'No_Of_Clients' of row with index 11 by
df.at[11, 'No_Of_Clients'] = 0
Alternatively, you can also set it to None
or np.nan
depending on your needs.
Upvotes: 3