Код: Выделить всё
df.loc[df["Measure"] == metric.label, "source_data_url"] = metric.source_data_url
Код: Выделить всё
FutureWarning:
Setting an item of incompatible dtype is deprecated and will raise in a future error of pandas. Value ' metric_3' has dtype incompatible with float64, please explicitly cast to a compatible dtype
first.
Подробнее здесь: https://stackoverflow.com/questions/770 ... new-column
Мобильная версия