Код: Выделить всё
df =
0
0 NaN
1 79.0
2 140.0
3 131.0
4 72.0
... ...
16341 349.0
16342 795.0
16343 787.0
16344 410.0
16345 1221.0
Код: Выделить всё
for key, value in data_df.items() :
df = data_df[key].fillna(0, inplace=False).astype(int)
if key
Подробнее здесь: [url]https://stackoverflow.com/questions/75791799/i-have-one-for-condition-and-cant-do-if-statement-to-count-cell-condition[/url]
Мобильная версия