I am trying to make a graph of a csv file, I attached a link of the file, I am trying to use panda’s to make a graph where the “Current I_A1/A” column is on the x axis and the “Voltage U_B2/V” is on the y axis.
I wrote the following code,
first cell: from google.colab import drive drive.mount('/content/drive')
”’
”’
Second cell
”’`import matplotlib.pyplot as plt
import numpy as np
from sympy import S, symbols, printing
import scipy.optimize as sci
import pandas as pd
from pathlib import Path
#Importing all the relevant packages for the code, plotting, finding the best fit, analyzing our data and error analysis
file=pd.read_csv(r’/content/drive/MyDrive/Dataset 1(no offset part1 plate 1).csv’)
x_axis=file[‘Current I_A1/A ‘]
y_axis=file[‘Voltage U_B2/V’]`
”’
I get an error: “Error tokenizing data. C error: Expected 5 fields in line 3, saw 6”
Here is the link to the file: https://drive.google.com/file/d/1Fbu7ulgNEr3IvLdwX9q5o-2oT0jKGYmH/view?usp=sharing
I dont know how to fix it, I triend specifying engine type but that gives other errors
I triend specifying engine type but it didnt work