Ask coding questions

← Back to all posts
import files
kabirdas (4)

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

Commentshotnewtop
LightninMcQuade (240)

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

kabirdas (4)

@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

LightninMcQuade (240)

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

kabirdas (4)

@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

CaptainAnon (52)

@kabirdas I'm pretty sure it will.