Python Forum

Full Version: Pandas read_csv
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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]