Closed SebAgain closed 5 months ago
Hi @SebAgain,
Thanks for reaching out!
I'm afraid I can't replicate your error. It seems to be a pd.to_datetime() issue alright in that it is not able to recognize the "2100-12-31" as the format "%Y-%m-%dT%H:%M:%S". I wonder is it a Pandas version issue? It does require at least v1.0. My pandas and numpy versions are:
The code is meant to use the date "2100-12-31" as a placeholder for a None date. See cell 8. This is then removed when displaying the table. In the Notebook, this is what the result should look like.
Hi @stephenholleran and thank you for your quick reply.
With Pandas version 1.5.3 it works ! The issue is with Pandas version 2.2.0.
I hadn't understood that the note "Requires Pandas Version +1.0" meant that the Pandas version also had to be <2.0.
I hadn't understood that the note "Requires Pandas Version +1.0" meant that the Pandas version also had to be <2.0.
It doesn't. I think we need to modify this to make it work with Pandas v2.0+. Thanks for discovering.
Describe the bug When I run the Jupyter file "load_demo_schema.ipynb" (from "Tools" Folder) using following json file "demo_data/iea43_wra_data_model.json", I have a ValueError in the chapter "More details on each measurement point"
To Reproduce Steps to reproduce the behavior:
Expected behavior It seems that the "null" value in the json file for the "date_to" property is converted to "2100-12-31" by the Jupyter file and causes a ValueError.
Screenshots