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
I have rasterframes version 0.11.1. When I try to use the rf_resample function: df.select(rf_resample("proj_raster.tile", 0.25, "max")),
I get the following error: rf_resample() takes 2 positional arguments but 3 were given
This function is supposed to take three inputs right? Or am I missing something?
The text was updated successfully, but these errors were encountered:
defrf_resample(tile_col: Column_type, scale_factor: Union[int, float, Column_type]) ->Column:
"""Resample tile to different size based on scalar factor or tile whose dimension to match Scalar less than one will downsample tile; greater than one will upsample. Uses nearest-neighbor."""ifisinstance(scale_factor, (int, float)):
scale_factor=lit(scale_factor)
return_apply_column_function("rf_resample", tile_col, scale_factor)
I have rasterframes version 0.11.1. When I try to use the rf_resample function:
df.select(rf_resample("proj_raster.tile", 0.25, "max")),
I get the following error:
rf_resample() takes 2 positional arguments but 3 were given
This function is supposed to take three inputs right? Or am I missing something?
The text was updated successfully, but these errors were encountered: