0 votes
1 view
in Machine Learning by (13.5k points)

Hi. I am trying to change the value of a cell and I am trying this:


But I am getting the following error:

set_value is deprecated and will be removed in a future release

And the value is not getting changed. 

1 Answer

0 votes
by (33.1k points)

As the set_value function is deprecated, now you can easily use the at() method now.

For example:

df.at[row name, column name]=value


Hope this answer helps you!

And for more, study the Pandas Tutorial.

Welcome to Intellipaat Community. Get your technical queries answered by top developers !