EnergieID / entsoe-py

Python client for the ENTSO-E API (european network of transmission system operators for electricity)
MIT License
428 stars 188 forks source link

Wrong naming in the forecasted generation query #170

Open bosainasharba opened 2 years ago

bosainasharba commented 2 years ago

when import the forecasted generation, I get following columns:

                       **Actual** Aggregated  **Actual** Consumption

2019-03-03 01:00:00+01:00 163.0 539.0

It is just a bit missleading when it is actuelly about forecasted data and also called :Scheduled Generation on the ETP

fboerman commented 2 years ago

hi @bosainasharba thank you for the report. Could you provide a code snippit and transparancy screenshot to showcase what exactly you mean is the problem? Thanks!

bosainasharba commented 2 years ago

Hello, I have just tried to get the screenshots but apparently there was a code change in the query_generation_forecast. Now, it is returning pandas series instead of pandas dataframe as in the documentation (https://github.com/energieID/entsoe-py), is this change intentional? type(client.query_generation_forecast(tso, start=start_tz, end=end_tz)) <class 'pandas.core.series.Series'>

fboerman commented 11 months ago

hi @bosainasharba sorry for the late response. that is intentional yes and depends on the data returned. Do you think it should be different and if yes what would you suggest?