-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeError: 'DataFrame' object has no attribute 'within' #289
Comments
What version of dask (and dask-expr, maybe) do you have installed? |
Here I attached the pack versions. dask 2024.4.1 THK! |
I'm running into a similar issue, just trying to run the example code from the dask-geopandas docs:
throws the following error:
The above is running a Jupyter notebook with a conda environment within VS code. My package versions:
|
I get comparable error messages (attribute errors from dask-expr) when I try to apply to
throws the error message
not sure if the error might be in how i'm trying to use sjoin here? but the same code that now throws these error messages worked with older package versions, in particular:
|
The |
@martinfleis thanks for this!! but same error message (and the config is already set to False at import from what I can see), i.e.:
... prints out |
@anastassiavybornova I had the same error like In my case, I was using pip/uv to build the environment, not conda. |
Will try it out next time! |
Also I could use with
I'm look forward to the new release ;) |
Dear all,
Could someone help me resolve the error AttributeError: 'DataFrame' object has no attribute 'within'?
I'm attempting to replicate the example from https://hamedalemo.github.io/advanced-geo-python/lectures/dask_geopandas_intro.html. However, when I execute the line dpoints.within(box), Python raises the following error: AttributeError: 'DataFrame' object has no attribute 'within'.
Cheers,
Tom
The text was updated successfully, but these errors were encountered: