0
ML TASK1
import pandas as pd one.csv={('a',1,2), ('b',3,4)} df=pd.read_csv(one.csv) arr=df['a'].values print(arr[:0]) i used this code for ML assignment but it is throwing so many errors please correct me.i will learrrn from my mistakes
4 Respostas
0
read_csv is a method for reading file.
0
one.csv is not good name for dictionary
Try
one = {...}
pd.DataFrame(one)
0
no this all isn't working,please help me
https://www.sololearn.com/learning/eom-project/1094/100
0
import pandas as pd
df=pd.read_csv(filename)
print(df[column_name].values)