Skip to content
Advertisement

How to collect and move data from a link to pandas Dataframe using request

I have a link as below:

https://beta.nseindia.com/api/snapshot-derivatives-equity?index=futures

I want to collect and move table data from a link to pandas Dataframe using request

Advertisement

Answer

Use requests.get first and then json.json_normalize:

JavaScript

JavaScript
User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement