Access a single value for a row column pair by integer position #219
Unanswered
gregory-chatelier
asked this question in
Ideas
Replies: 1 comment 2 replies
-
@gregory-chatelier This feature has not been implemented yet. Using A correct solution when implemented, will update the Data Frame when you update a cell. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
The documentation lacks examples on how to access a single value by integer position on both axes.
"Pandas" has a convenient "iat" method that allows direct assignation :
df.iat[1, 2] = 10
I assumed that with "danfojs" the same result could be accomplished with :
df.values
and for assignation :
df.values[1][2] = 10
It seems to work, but I'm not 100% sure if it is the right an efficient way to do that
Beta Was this translation helpful? Give feedback.
All reactions