The easiest way to read JSON file while starting your Exploratory Data Analysis (EDA) in Pandas

Zeki Kadiroğlu
Nov 24, 2020
https://myinnercreative.com/star-wars-bullet-journal-spreads/

The first step of Exploratory Data Analysis is to read your file . If your file type is JSON , it might be slightly challenging for data analysts.

Of course,there are many ways to read JSON files so we can observe different aspects to read them .

With the traditional way ,after running the code snippet that is below;

You are going to get a ValueError.

For that reason ,you must run by adding “orient” and “lines” parameters.

In order to get over this issue, you must run like this way;

As you see above ,a dataset is ready to analyze for EDA.

Happy Analyzing … :)

--

--