Я работаю над набором данных.Как мы извлекаем «значение» из этого DataFrame?Спасибо.
Это фрейм данных:
distance duration status
0 {'text': '0.5 km', 'value': 532} {'text': '8 mins', 'value': 452} OK
1 {'text': '0.7 km', 'value': 682} {'text': '9 mins', 'value': 561} OK
2 {'text': '0.6 km', 'value': 646} {'text': '9 mins', 'value': 539} OK
3 {'text': '0.3 km', 'value': 301} {'text': '4 mins', 'value': 219} OK
4 {'text': '0.3 km', 'value': 339} {'text': '5 mins', 'value': 307} OK
5 {'text': '0.4 km', 'value': 418} {'text': '6 mins', 'value': 357} OK
6 {'text': '0.5 km', 'value': 537} {'text': '7 mins', 'value': 436} OK
7 {'text': '0.4 km', 'value': 434} {'text': '6 mins', 'value': 367} OK
8 {'text': '0.4 km', 'value': 394} {'text': '6 mins', 'value': 341} OK