Ask coding questions

← Back to all posts
Import datasets
FilipH (29)

Hello, I am wondering if there is a way to import a dataset without downloading it. And if that doesn't work, how do you import a dataset into from a local file?

Thanks in advance

Answered by malvoliothegood (871) [earned 5 cycles]
View Answer
malvoliothegood (871)

What language are you using? If you are using JavaScript you can use the fetch function.

FilipH (29)

I am using Python.

malvoliothegood (871)

The Python requests module can be used to load JSON data from an API endpoint. The following program that I wrote under a different account shows how to use it:

GiridharKaushik (3)

@malvoliothegood the link is not working or is missing