openeo-python-client icon indicating copy to clipboard operation
openeo-python-client copied to clipboard

SettingWithCopyWarning in job manager

Open soxofaan opened this issue 4 months ago • 0 comments

reported by Joris C:

Not sure whether it's due to a change in the job manager, or whether it was there already, but I'm getting a warning on the line here: https://github.com/Open-EO/openeo-python-client/blob/master/openeo/extra/job_management.py#L650 SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy active.loc[i, "running_start_time"] = rfc3339.utcnow()

soxofaan avatar Oct 04 '24 09:10 soxofaan