enviroCar / envirocar-py

MIT License
9 stars 30 forks source link

Error with extraction of tracks #29

Open solo2307 opened 4 months ago

solo2307 commented 4 months ago

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 commented 4 months ago

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.