Can't run it over 10001 index from csv , then I got the error f"Length of passed values is {len(data)}, " ValueError: Length of passed values is 2, index implies 1. #792
Labels
bug
Something isn't working
Expected Behavior
I wanna use it over 10000 index with this command(index_col='time', parse_dates=True) without the error ,when I import the csv.
Of cource I should type the code like follow.
df = pd.read_csv("df.csv")
But the date didn't recognize ,when I don't use index_col='time', parse_dates=True.
And the follow error occurred ,when I import the csvfile over 10000 index.There is reproducibility.
Actual Behavior
I read the csv by follow code and csv
code
filename = "raw.csv"
df = pd.read_csv(filename,index_col='time', parse_dates=True)
csvdata example actual data have 10002 index.
Line 10001 does not give an error.
But an error occurs when the csv reaches 10002 rows.
This error occurred when reading CSV with the following command.
target code
index_col='time', parse_dates=True
Steps to Reproduce
Additional info
The text was updated successfully, but these errors were encountered: