Suggest where I should correct code? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
18th Dec 2020, 2:07 AM
Sâñtôsh
Sâñtôsh - avatar
5 Answers
+ 1
Works fine for me although I have not tried the file input part, maybe remove the second "import pandas as pd" at line 4 ??
18th Dec 2020, 2:19 AM
noteve
noteve - avatar
+ 1
《 Nicko12 》 only two case pass other not
18th Dec 2020, 2:31 AM
Sâñtôsh
Sâñtôsh - avatar
+ 1
Ok, so it is a challenge? Are "a" and "b" only the names of the columns?
18th Dec 2020, 2:38 AM
noteve
noteve - avatar
+ 1
Yes
18th Dec 2020, 2:39 AM
Sâñtôsh
Sâñtôsh - avatar
+ 1
Såñtösh arr = df[column_name].values print(arr)
21st Dec 2020, 7:51 PM
**🇦🇪|🇦🇪**
**🇦🇪|🇦🇪** - avatar