Skip to content
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

Error with extraction of tracks #29

Open
solo2307 opened this issue Jul 16, 2024 · 1 comment
Open

Error with extraction of tracks #29

solo2307 opened this issue Jul 16, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@solo2307
Copy link

bbox = BboxSelector([
7.554130554199218, # min_x
51.95590322041212, # min_y
7.590351104736328, # max_x
51.97874790276371 # max_y
])

issue a query with 40 tracks

track_df = track_api.get_tracks(bbox=bbox, num_results=100)

Returns:
/usr/local/lib/python3.10/dist-packages/pandas/core/generic.py in getattr(self, name)
5987 ):
5988 return self[name]
-> 5989 return object.getattribute(self, name)
5990
5991 def setattr(self, name: str, value) -> None:

AttributeError: 'DataFrame' object has no attribute 'append'

@MartinPontius MartinPontius self-assigned this Jul 19, 2024
@MartinPontius MartinPontius added the bug Something isn't working label Jul 19, 2024
@MartinPontius
Copy link
Contributor

MartinPontius commented Jul 19, 2024

Thanks for reporting this bug, @solo2307 !

envirocar-py version 0.0.3 is not compatible with pandas >=v.2.0.0

I pushed a fix for this.

However, I don't know when I will have the time to push a new version to PyPI. In the meantime, you could either do a local installation by cloning the source code of envirocar-py or you could downgrade your pandas version to <2.0.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants