Suggest where I should correct code? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
18th Dec 2020, 2:07 AM
SĆ¢Ć±tĆ“sh
SĆ¢Ć±tĆ“sh - avatar
5 Respostas
+ 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