Python Forum
Pandas read_csv - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: Data Science (https://python-forum.io/forum-44.html)
+--- Thread: Pandas read_csv (/thread-36548.html)



Pandas read_csv - markf7319 - Mar-03-2022

I am trying to import data via pandas read csv module and create a simple graph using the data. One consists of a 5 day time frame set to the variable 'index' the other contains 5 values of a predicted price for each day in the time frame set to the variable ' data'. I created a pandas Dataframe but once doing so the "predicted close" column returns a NaN value. I have tried a few different ways to manipulate the data to fix this but i am still relatively new and could use a little direction here. I attached the terminal output for the script and the script itself[attachment=1642][attachment=1643]