Closed lglass closed 5 months ago
There was a pandas deprecation and pandas.map is only available in pandas>=2.1.0
https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.map.html
I'm not sure how you ended up with a broken environment but if you do pip install --upgrade pandas you should be golden! I'll check our requirements are properly specified here
Thanks!
https://github.com/teamtomo/starfile/blob/main/pyproject.toml#L40 looks like requirements are properly specified
Sorry you ended up with a broken env, if I don't hear back from you I'll close here assuming it's fixed by the pandas upgrade 🙂
Description
I'm trying to write a simple star file. It writes the data header but fails to write the data frame with the error
What I Did