JSON

JSON (JavaScript Object Notation) is gaining popularity these days due to its efficiency and simplicity. JSON allows the specification of number, string, Boolean, array, and object. Python provides the default json package for parsing JSON. Alternatively, the pandas.read_json class can be used to import JSON as a Pandas dataframe. The preceding population table can be represented as JSON in the following example:

{
"population": [
{
"Country": "United Kingdom",
"Time": 1950,
"Sex", "Male",
"Age", "0-4",
"Value",2238.735
},{
"Country": "United States of America",
"Time": 1950,
"Sex", "Male",
"Age", "0-4",
"Value",8812.309
},
]
}
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset