Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pandas read_csv
#1
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        
Larz60+ write Mar-03-2022, 10:55 AM:
Please post all code, output and errors (it it's entirety) between their respective tags. Refer to BBCode help topic on how to post. Use the "Preview Post" button to make sure the code is presented as you expect before hitting the "Post Reply/Thread" button.

Please convert the code image to text wrapped with BBCode [Python] tags
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  pandas read_csv can't handle missing data mrdominikku 0 2,514 Jul-09-2020, 12:26 PM
Last Post: mrdominikku
  read_csv error and rows/columns missing karlito 9 5,359 Nov-11-2019, 06:48 AM
Last Post: karlito
  Checking a filename before reading it with pd.read_csv karlito 2 2,231 Oct-30-2019, 09:46 AM
Last Post: karlito
  utf-8 error with pandas read_csv logues 0 3,878 Oct-23-2018, 05:25 PM
Last Post: logues
  pandas read_csv, numbers in footer mechanic310 1 2,823 May-22-2018, 10:38 AM
Last Post: buran

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020