December 2015
Beginner to intermediate
202 pages
4h
English
Along with CSV, JSON is another commonly found format for datasets, especially when extracting data from web APIs.
import pandas as pd
customer_json_file = 'customer_data.json'
read_json() method provided by Pandas. Note that the dates in our JSON file are stored in the ISO format, so we're going to tell the read_json() method to convert dates:customers_json = pd.read_json(customer_json_file, convert_dates=True)
head() command to see the top five rows ...Read now
Unlock full access