How to read json file in jupyter notebook? : import numpy as np

import pandas as pd

import seaborn as sns

import matplotlib as plt

from ast import literal_eval

import json

%matplotlib inline

with open('today.json') as f:

data = literal_eval(f.read())

df = pd.DataFrame(data)

print(df)



Error:

    
File "<ipython-input-16-6c3ee58610d7>", line 10

    data = literal_eval(f.read())

       ^

IndentationError: expected an indented block


