Write python code to analyze your dataset

Assignment Help Python Programming
Reference no: EM132291123

Data wrangling Assignment -

The assignment is regarding Exploratory Data Analysis and Data Cleansing (Data Wrangling).

Data Cleansing - For this assessment, you are required to write Python (Python 2/3) code to analyze your dataset, find and fix the problems in the data. The input and output of this task are shown below:

Table 1. The input and output of the task

Input

Output

Jupyter notebook

<student_no>_dirty_data.csv

<student_no>_outliers.csv

<student_no>_missing_value.csv

<student_no>_dirty_data_solution.csv

<student_no>_outliers_solution.csv

<student_no>.missing_value_solution.csv

<student_no>_ass2.ipynb

Exploring and understanding the data is one of the most important parts of the data wrangling process. You are required to perform both graphical and non-graphical EDA methods to understand the data first and then find the data problems. You are required to:

  • Detect and fix errors in <student_no>_dirty_data.csv?.
  • Detect and remove outliers in <student_no>_outliers.csv?.
  • Impute the missing values in <student_no>_missing_value.csv.

As a starting point, here is all we know about the dataset in hand: The dataset is about Uber Ridesharing data in Victoria, Australia. The description of each data column is shown in Table 2.

Table 2. Description of the columns

COLUMN

DESCRIPTION

Id

A unique id for the journey

Uber type

A categorical attribute for the type of the journey namely Uber pool, Uberx, Uber black. All we know is that the cost of these types of journeys may be different.

Origin region

A categorical attribute representing the region for the origin of the journey

Destination region

A categorical attribute representing the region for the destination of the journey

Origin latitude

Latitude of the origin coming from nodes.csv? file

Origin longitude

Longitude of the origin coming from nodes.csv? file

Destination latitude

Latitude of the destination coming from nodes.csv? file

Destination longitude

Longitude of the destination coming from the nodes.csv? file

Journey Distance

The shortest path, in meters, between the origin and the destination with respect to the nodes.txt and the edges.txt files. Dijkstra algorithm can be used to find the shortest path between two nodes in a graph. Reading materials can be found here.

Departure date

Date of the departure. We know that the price is different on weekdays compared to weekends.

Departure time

Time of the departure. We know that the Uber company has a specific rule to define a discrete number for morning (i.e. 0) (6:00:00 - 11:59:59), afternoon (i.e. 1) (12:00:00 - 20:59:59), and night (i.e. 2) (21:00 - 5:59:59) to calculate the fare.

Travel time

Travel time (i.e., duration) of the journey in seconds. Note that road types have their own speed limit in the edges.csv? file and the

car always travel with the exact speed limit.

Arrival time

The time of the arrival

Fare$

The fare of the journey. We know that the fare has a linear relation with some of the attributes of the dataset.

Note - The report should demonstrate the methodology (including all steps) to achieve the correct results. The cleaning task must be explained in a well-formatted report (with appropriate sections and subsections). Please remember that the report must explain the complete EDA to examine the data, your methodology to find the data anomalies and the suggested approach to fix those anomalies.

Attachment:- Assignment File.rar

Reference no: EM132291123

Questions Cloud

Servant leadership emphasizes being able to serve and lead : Servant leadership emphasizes being able to serve and lead. In your opinion, is this contradictory or doable?
Community care scenario in the allied health community : Referring to the Community Care scenario in the Allied Health Community, imagine that during the meeting many participants blame poor supervision/management
What is the revenue maximizing pricing strategy : What is the revenue maximizing pricing strategy for the movie producer
Define strategic importance of cloud computing : Strategic importance of cloud computing in business organizations. Details to follow while writing, Research paper basics: 10-12 pages in length.
Write python code to analyze your dataset : FIT5196 - Data wrangling Assignment, Monash University, Australia. Write Python (Python 2/3) code to analyze your dataset
Calculate the markup on cost of goods sold : How do you calculate the markup on cost of goods sold? Is the markup pure profit? Explain.
How cvp analysis can be used for managerial planning : How CVP analysis can be used for managerial planning. Why contribution margin per unit becomes profit per unit above the break-even point.
What are the implications of the study : Find an article from a recent issue of a peer-reviewed journal related to clinical or counseling psychology - describe specifically an experimental manipulation
What is siem software and how it works to help organizations : What is SIEM software? Provide a brief explanation of what it does and how it works to help organizations protect their cloud solutions from cyberattacks.

Reviews

len2291123

4/23/2019 12:02:22 AM

The assignment is regarding Exploratory Data Analysis and Data Cleansing (Data Wrangling) and is worth 35% of the overall grade. It needs to be done up to mark. The report should demonstrate the methodology (including all steps) to achieve the correct results. Please remember that the report must explain the complete EDA to examine the data, your methodology to find the data anomalies and the suggested approach to fix those anomalies.

len2291123

4/23/2019 12:02:17 AM

Notes: The output csv files must have the exact same columns as the input. There is at least one error in the dataset from each category of the data anomalies (i.e., syntactic, semantic, and coverage). No rows carry more than one error. There is no error other than outliers in the file student_no_outliers.csv. Similarly, there is no error other than missing value problems in the file student_no_missing_value.csv. 5. The radius of the Earth is 6378.0km. Each Uber type has its own method of calculating the fare. As EDA is part of this assessment, no further information will be given publicly regarding the data. However, you can brainstorm with the teaching team during tutorials and consultation sessions.

Write a Review

Python Programming Questions & Answers

  Python programming to solve this problem

Write a statement that adds 1 to deansList and prints studentName to standard out if gpa exceeds 3.5.

  Discuss problem related to exception handling

You decide to upload your recent project to a programming community website for feedback, and one thing that community users keep pointing to is the lack.

  Write a program in python that requests a user to enter

Write a program in Python that requests a user to enter: percentage of students who received higher than 90 points.

  Simulate the real-time data from two sensors

The task is to get real-time data from two sensors connected to Raspberry Pi 3 GPIO. What you can do is simulate random values from 0-10 for both sensors

  Implement a triangle class in python

CSc 11300 Spring 2016 Programming Languages. Implement a Triangle class in Python: The triangle is defined by its three side lengths - a, b, and c. The class includes methods that perform the following operations: is_triangle - checks whether the giv..

  Exploring the potential of natural language processing

For Reading Purposes. EXPLORING THE POTENTIAL OF NATURAL LANGUAGE PROCESSING AND MACHINE LEARNING IN CHILD LANGUAGE DISORDERS DIAGNOSIS, Preprocessing data from conti-4 : cleaning the raw dataset into structured form for subsequent processing and ana..

  Write a python program to implement the diff command

Without using the system() function to call any bash commands, write a python program that will implement a simple version of the diff command.

  Python regular expressions and dictionaries

Complete as many exercises from the book as necessary to understand the concepts. These will not be graded. The graded part of the assignment is to use regular expression

  Compute the price fluctuation between different weeks

Python Coding Assignment - You basically have to retrieve stock prices for like AAPL for the last 6 months then obtain the price fluctuations for each week

  Write appropriate accessor and mutator methods

Design a class that holds the following personal data: name, address, age, and phone number. Write appropriate accessor and mutator methods.

  Create a python program which will grade a certain portion

Create a Python program which will grade a certain portion of the final. The final has 25 questions where the answer is either, A,B,C or D.

  Create a program that calculates the estimated hours

Create a program that calculates the estimated hours and minutes for a trip. This should include an estimated date/time of departure and an estimated.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd