+ 2
Why the code can't be executed
I can't execute this code please help >â< It's even in try yourself https://code.sololearn.com/cm4Job1EHTNb/?ref=app
4 Answers
0
You literally asked this exact same question 3 hours ago, but for whatever reason you deleted it, and it was then I provided you with basically the exact same answer
https://code.sololearn.com/cgLGnyE10IS6/#py
+ 3
You have to capitalize column names:
import pandas as pd
df=pd.read_csv('https://sololearn.com/uploads/files/titanic.csv')
small_df= df[['Age','Sex','Survived']]
print (small_df.head())
+ 1
Very thankful for your help đđđ
0
Actually before i saw answer I accidentally deleted it