0

What's in a column can't slove it anyone whi can do it for me

import pandas as pd import numpy as np filename = input() column_name = input() a=pd.read_csv('https://sololearn.com/uploads/files/one.csv') b=a[column_name] print(b).values

13th Jun 2021, 5:44 PM
Pritam Singh
Pritam Singh - avatar
11 Respostas
+ 2
It seems that the csv file you're trying to load doesn't exist. Also, when looking for help with your code please write it in the code playground and post a link here that way people can run your code and see what is going on.
13th Jun 2021, 7:03 PM
Simon Sauter
Simon Sauter - avatar
+ 2
1. You're asking for input for the variable filename, but you don't use that variable anywhere. 2. You are still trying to load a file that does not exist.
14th Jun 2021, 1:47 PM
Simon Sauter
Simon Sauter - avatar
+ 1
There is nothing anyone can do until you load a file that actually exists.
14th Jun 2021, 2:01 PM
Simon Sauter
Simon Sauter - avatar
+ 1
I don't know. I never tried.
14th Jun 2021, 3:09 PM
Simon Sauter
Simon Sauter - avatar
14th Jun 2021, 1:43 PM
Pritam Singh
Pritam Singh - avatar
0
Please slove it
14th Jun 2021, 1:44 PM
Pritam Singh
Pritam Singh - avatar
0
It can't work can you please
14th Jun 2021, 1:56 PM
Pritam Singh
Pritam Singh - avatar
0
If u both have don't any idea so please leave it I can do it for my self .
14th Jun 2021, 3:11 PM
Pritam Singh
Pritam Singh - avatar