WattTime / pyiso

Python client libraries for ISO and other power grid data sources.
http://pyiso.readthedocs.org/
Other
239 stars 112 forks source link

All of the Canadian clients return datetime data type for 'timestamp' #181

Closed r24mille closed 6 years ago

r24mille commented 6 years ago

Each of the ISO / balancing authority clients returns a list of dict objects with key / values described at: https://pyiso.readthedocs.io/en/latest/usage.html#clients However, there's no explicit mention of what data type the value for the timestamp key should be. In all of the Canadian clients, a timezone-aware UTC datetime value is returned. After discussion with WattTimer folks, returning pandas.Timestamp in UTC is the correct data type (for the time being).

Update all returned values for 'timestamp' dictionary entries to pandas.Timestamp in the Canadian clients.