access data frame element by loc

Solutions on MaxInterview for access data frame element by loc by the best coders in the world

showing results for - "access data frame element by loc"
Florencia
09 Jun 2019
1In [24]: x = pd.DataFrame({'x': [1, 2, 3], 'y': [3, 4, 5]})
2
3In [25]: x.iloc[1] = {'x': 9, 'y': 99}
4
5In [26]: x
6Out[26]: 
7   x   y
80  1   3
91  9  99
102  3   5
11
similar questions
queries leading to this page
access data frame element by loc