I'm not sure how to phrase my search in order to find it so this is probably a duplicate. Please feel free to point me in the right direction.
In pandas, I know that I can use iloc
to grab particular pieces of a dataframe.
I'm curious to know if there is a way to Read or Write particular items from said dataframe.
In one case, I could get item08
by using (1, 1)
and then reading it
Or perhaps I want item28
I could use (2, 4)
Maybe I'd like to change item22
on (2, 3)
+--------------------------------------------+
0 | item01 | item07 | item13 | item19 | item26 |
+--------------------------------------------+
1 | item02 | item08 | item14 | item21 | item27 |
+--------------------------------------------+
2 | item03 | item09 | item15 | item22 | item28 |
+--------------------------------------------+
3 | ... | ... | ... | ... | ... |
+--------------------------------------------+
0 1 2 3 4
How can this be done?