I am trying to read JSON file using pandas:
import pandas as pd
df = pd.read_json(\'https://data.gov.in/node/305681/datastore/export/json\')
I
The following listed both the key and value pair for me:
from urllib.request import urlopen
import json
from pandas.io.json import json_normalize
import pandas as pd
import requests
df = json.loads(requests.get('https://api.github.com/repos/akkhil2012/MachineLearning').text)
data = pd.DataFrame.from_dict(df, orient='index')
print(data)