+ 1

Am I doing this wrong?

When solving the First code case from the Machine Learning course I can either solve the first Test case or the second, yet it asks that I solve both. This is my code: filename = input() column_name = input() import pandas as pd df = pd.read_csv(filename) print(df['a'].values) Many thanks! Edit: changed 'b' to 'a'

17th Jan 2022, 12:22 PM
Gonzalo RodrĂ­guez Hermida
Gonzalo RodrĂ­guez Hermida - avatar
5 Answers
+ 2
no it's not that either
17th Jan 2022, 12:39 PM
CGM
CGM - avatar
+ 2
You are taking an input called column_name, you're supposed to use it XD
17th Jan 2022, 12:41 PM
CGM
CGM - avatar
+ 1
why do you use 'b' as column name?
17th Jan 2022, 12:34 PM
CGM
CGM - avatar
+ 1
Sorry it, should be 'a'
17th Jan 2022, 12:37 PM
Gonzalo RodrĂ­guez Hermida
Gonzalo RodrĂ­guez Hermida - avatar
+ 1
I just realized two seconds after reading your second answer. Thanks!
17th Jan 2022, 12:43 PM
Gonzalo RodrĂ­guez Hermida
Gonzalo RodrĂ­guez Hermida - avatar