acruzgarcia / OMIEData

Python package to import data from OMIE (Iberian Peninsula's Electricity Market Operator): https://www.omie.es/
https://pypi.org/project/OMIEData/
MIT License
24 stars 7 forks source link

Fix error Datafgrame object has no aatribute concat error #9

Closed javier-alvarez-ctic closed 1 week ago

javier-alvarez-ctic commented 2 months ago

I modified the omie_data_importer_from_responses.py code to avoid the "DataFrame' object has no attribute 'concat'" error when execute the examples. Create after this issue: https://github.com/acruzgarcia/OMIEData/issues/8

acruzgarcia commented 1 week ago

The request only introduces a blank space into the current code base.

I think the problem that people is having is because ther are using a non-updated version of OMIEData. The one in pyOPI.org. I will update the version to use the current codebase.

acruzgarcia commented 1 week ago

I have checked that my suspicious is right. OMIEData 0.2.0.0 contains the wrong code (with df.concat instead of pd.concat) since it was built a long time ago (May 2023, it can be checked here: https://pypi.org/project/OMIEData/#files).

I will rebuild and upload and let you know when ready. Thanks for spotting this!

javier-alvarez-ctic commented 1 week ago

Oops, sorry. It was my mistake not to notice it, first time using a Pull request.

Yes, I was downloading the package from pip. Thanks for fixing it!