Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Objective The first step of the project is to pre - process the data. As the data table contains multiple values in one cell, it

Objective
The first step of the project is to pre-process the data. As the data table contains multiple values in one cell, it cannot be used for MySQL relations. In order to use the data in any DBMS, you have to pre-process it.
To parse the data, use any programming language (Java, C, C++, Python). Once parsed, store the parsed CSV file(s) on your local machine for future use. Remember that, parsing is done only once, but the parsed data can be used as many times as we want.
Submission: Submit the code to parse the data along with the parsed data. Note that, you are creating any table inside MySQL at this point. You are preparing a code that you will use later for parsing the data and importing into the MySQL database.
Your code design will also affect your final product. Be sure to keep the final goal (recommendation engine) in mind while designing any component of the project.
Example
Following is an example of attribute "genres" of the movie Avatar. Your code should be able to parse it and extract the genre names and id's.
[{"id": 28, "name": "Action"},{"id": 12, "name": "Adventure"},{"id": 14, "name": "Fantasy"},{"id": 878, "name": "Science Fiction"}]
Please complete code in Python!

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Microsoft Outlook 2023

Authors: James Holler

1st Edition

B0BP9P1VWJ, 979-8367217322

Students also viewed these Databases questions

Question

=+Calculate shareholder value using Rappaport's method.

Answered: 1 week ago

Question

Compare the notions of concept and prototype

Answered: 1 week ago

Question

Guidelines for Informative Speeches?

Answered: 1 week ago