You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/workspaces/intersect-community-data/pyncoda/ncoda_00e_geoutilities.py:294: FutureWarning: Setting an item of incompatible dtype is deprecated and will raise an error in a future version of pandas. Value '4110850' has dtype incompatible with float64, please explicitly cast to a compatible dtype first.
copy_point_gdf.loc[precise_matches.index,geolevel+col] = polygon[col]
/workspaces/intersect-community-data/pyncoda/ncoda_00e_geoutilities.py:294: FutureWarning: Setting an item of incompatible dtype is deprecated and will raise an error in a future version of pandas. Value 'Cannon Beach' has dtype incompatible with float64, please explicitly cast to a compatible dtype first.
copy_point_gdf.loc[precise_matches.index,geolevel+col] = polygon[col]
The text was updated successfully, but these errors were encountered:
# Explicitly cast to compatible dtype if necessary
value = polygon[col]
if copy_point_gdf[geolevel + col].dtype == 'float64':
value = float(value)
copy_point_gdf.loc[
precise_matches.index, geolevel + col
] = value
/workspaces/intersect-community-data/pyncoda/ncoda_00e_geoutilities.py:294: FutureWarning: Setting an item of incompatible dtype is deprecated and will raise an error in a future version of pandas. Value '4110850' has dtype incompatible with float64, please explicitly cast to a compatible dtype first.
copy_point_gdf.loc[precise_matches.index,geolevel+col] = polygon[col]
/workspaces/intersect-community-data/pyncoda/ncoda_00e_geoutilities.py:294: FutureWarning: Setting an item of incompatible dtype is deprecated and will raise an error in a future version of pandas. Value 'Cannon Beach' has dtype incompatible with float64, please explicitly cast to a compatible dtype first.
copy_point_gdf.loc[precise_matches.index,geolevel+col] = polygon[col]
The text was updated successfully, but these errors were encountered: