Not getting full data from api to Jupyter Notebook

Hello CS community,

r = requests.get("https://pokeapi.co/api/v2/pokemon/")
x = r.json()
df = pd.DataFrame(x['results'])

I am using these lines to get the data from this api to my jupyter notebook for my big data class but somehow I am getting only 19 lines/rows. Could you please help me load the whole data? Or should it be somehow by 19 and then delete and other 19?

Thank you guys!



Read more here: https://stackoverflow.com/questions/66345379/not-getting-full-data-from-api-to-jupyter-notebook

Content Attribution

This content was originally published by Betty Rain at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: