BUG:read_json()
I use pandas to read a json file, but I got an AttributeError, here is my code and error info:
<pre lang="python">import pandas as pd
import numpy as np
import xgboost as xgb
import matplotlib.pyplot as plt
#% matplotlib inline
import seaborn as sns
sns.set(style="whitegrid", color_codes=True)
sns.set(font_scale=1)

train = pd.read_json(train.json)

plt.figure(figsize=(8, 10))
plt.scatter(range(train.shape[0]), train["price"].values,color='purple')
plt.title("Distribution of Price")
plt.show()

runfile('/Users/trembleguy/Desktop/rental ap/plotSomething.py', wdir='/Users/trembleguy/Desktop/rental ap')
Traceback (most recent call last):

  File "<ipython-input-14-5beeb67a8bb9>", line 1, in <module>
    runfile('/Users/trembleguy/Desktop/rental ap/plotSomething.py', wdir='/Users/trembleguy/Desktop/rental ap')

  File "/anaconda/lib/python3.6/site-packages/spyder/utils/site/sitecustomize.py", line 866, in runfile
    execfile(filename, namespace)

  File "/anaconda/lib/python3.6/site-packages/spyder/utils/site/sitecustomize.py", line 102, in execfile
    exec(compile(f.read(), filename, 'exec'), namespace)

  File "/Users/trembleguy/Desktop/rental ap/plotSomething.py", line 10, in <module>
    train = pd.read_json(train.json)

  File "/anaconda/lib/python3.6/site-packages/pandas/core/generic.py", line 2744, in __getattr__
    return object.__getattribute__(self, name)

AttributeError: 'DataFrame' object has no attribute 'json'</pre>
I have used read_json() to read json without this error, but this time not.
I delete the .pyc file but didn't work, I think it's a bug.
if not a bug, please tell me the right way to read json, thanks!

@survivingME looks like you meant to post an issue.

in any event, please provide a minimal reproducible example.