[2022] CSCI-UA 9479 Data Management and Analysis - Mid Semester Quiz - Q2 XML to JSON
This question has been solved
2. Consider the xml file books.xml which contains author, price, genre and other details of a list of books. [5 points 2 = 10 points]
CourseNana.COM
CourseNana.COM
(a) Use xmltodict and json packages (only) and generate a new json file newBooks.json that contains the same information as the xml file, where tags become the key and the corresponding text becomes the value with appropriate data type.
CourseNana.COM
CourseNana.COM
(b) Use xml.etree.ElementTree package (only) and compute the average book price for every genre. Display the output on the console
CourseNana.COM
(terminal).
CourseNana.COM
CourseNana.COM
CSCI-UA 9479代写,Data Management and Analysis代写,NYU Paris代写,Python代写,SQL代写,XML代写,CSCI-UA 9479代编,Data Management and Analysis代编,NYU Paris代编,Python代编,SQL代编,XML代编,CSCI-UA 9479代考,Data Management and Analysis代考,NYU Paris代考,Python代考,SQL代考,XML代考,CSCI-UA 9479help,Data Management and Analysishelp,NYU Parishelp,Pythonhelp,SQLhelp,XMLhelp,CSCI-UA 9479作业代写,Data Management and Analysis作业代写,NYU Paris作业代写,Python作业代写,SQL作业代写,XML作业代写,CSCI-UA 9479编程代写,Data Management and Analysis编程代写,NYU Paris编程代写,Python编程代写,SQL编程代写,XML编程代写,CSCI-UA 9479programming help,Data Management and Analysisprogramming help,NYU Parisprogramming help,Pythonprogramming help,SQLprogramming help,XMLprogramming help,CSCI-UA 9479assignment help,Data Management and Analysisassignment help,NYU Parisassignment help,Pythonassignment help,SQLassignment help,XMLassignment help,CSCI-UA 9479solution,Data Management and Analysissolution,NYU Parissolution,Pythonsolution,SQLsolution,XMLsolution,