Skip to content
Sign upLog in
← Back to Community

import files

Profile icon
kabirdas

Hi,

I need to import data as a dataframe. I'm using a chromebook and I'm not sure of how to access the files on a chromebook, so I added the file to the repl. What would the proper code be to import that file that I have added to the repl into the main code?

Thanks

Voters
Profile icon
AdiletErkinbek
Profile icon
YanickaAnna
Profile icon
PoorvaVakharia
Profile icon
surya08pratap
Profile icon
Bananablue
Profile icon
dimdamdoummm206
Profile icon
kabirdas
Comments
hotnewtop
Profile icon
LightninMcQuade

What programming language are you using and can you link the repl here?

Profile icon
kabirdas

@LightninMcQuade
sorry.... shouldn't have left all that out. that's not very helpful.

https://repl.it/@kabirdas/Loan-Dataset

I want to convert the file that I have added to a dataframe. This code her shows me how to add the file, but I need help with turning it into a dataframe. https://repl.it/@amasad/CSV-Example

I was going to use pd.read_csv, but that isn't going to work.'

Thank you

Profile icon
kabirdas

@kabirdas
and using python

Profile icon
LightninMcQuade

@kabirdas
I don't know much about making data frames but maybe
@amasad
can help!

Profile icon
kabirdas

@LightninMcQuade
Thank you!

Profile icon
PYer

?

Profile icon
kabirdas

@fullern000

\https://repl.it/@kabirdas/Loan-Dataset

I want to convert the file that I have added to a dataframe. This code her shows me how to add the file, but I need help with turning it into a dataframe. https://repl.it/@amasad/CSV-Example

I was going to use pd.read_csv, but that isn't going to work.

Thank you

Profile icon
teymour

@kabirdas
I'm pretty sure it will.