InseeFrLab / pynsee

pynsee package contains tools to easily search and download french data from INSEE and IGN APIs
https://pynsee.readthedocs.io/en/latest/
MIT License
67 stars 8 forks source link

Do not save_df if empty, save if forced update #208

Closed tfardet closed 2 weeks ago

tfardet commented 1 month ago

I updated the save_df function to not save if the dataframe is empty and added the save in case of a forced update if there is an error loading the file.

I also removed the shapely deprecation warnings ignore because I think we better know about these and fix them than silence them. Other people can ignore them manually in the meantime.