Ditutup

Project for Vishal K. -- 18/06/13 00:31:43

Question 1: Please write a Python script that:

1. Reads the JSON located at [login to view URL]

2. Outputs a JSON object consisting of lists of unique 'nm', grouped by 'cty' and 'hse'

Example output:

{

"cty1": {

"hse1": [

"name1",

"name2"

],

"hse2": [

"name1",

"name2"

]

},

"cty2": {

"hse3": [

"name1",

"name2"

],

"hse4": [

"name1",

"name2"

]

}

}

Question 2: Please write a Python script that:

1. Reads the JSON located at [login to view URL]

2. Maps the 'name' from each field in "columns", available at JSON_ROOT['meta']['view']['columns'], to each list inside JSON_ROOT['data']. (e.g. the name of the first field listed in "columns" is the name of the first item in each list in "data")

3. Outputs a JSON file containing only data for the following fields: ["Child's First Name", "Gender", "Ethnicity", "Year of Birth", "Rank", "Count"]

4. Filters the aforementioned data to only the years 2012-2014, then groups by "Child's First Name" and "Ethnicity", and finally provides the sum of "Count" for each combination.

5. Writes the resulting data to both JSON and CSV.

6. DO NOT use the 'pandas' library when answering this question.

Kemahiran: .NET, ASP, Javascript, Python, Visual Basic

Lihat lagi: vishal projects pvt ltd, vishal projects tukkuguda, vishal homes, vishal construction, vishal real estate, duplex house builders in hyderabad, vishal sanjivini maheshwaram, vishal builders raipur, I would like to hire a CSS Designer - 16/06/2017 00:45 EDT, I would like to hire a CSS Designer - 16/06/2017 00:48 EDT, Design a T-Shirt - 14/06/2017 18:13 EDT , This project is ending in 5 days and has an average bid price of €21.00 EUR., 55.6:666666670000;;;;;;.63;,,,00;0000000000:06, project for k, Paypal api adaptive payments cart - 06/11/2016 18:41 EST

Tentang Majikan:
( 0 ulasan ) United States

ID Projek: #17160604

1 pekerja bebas membida secara purata $10 untuk pekerjaan ini

vishal7874

Hired by the Employer

$10 USD dalam 3 hari
(45 Ulasan)
5.9