Code Monkey home page Code Monkey logo

bachaudhry / udacity_project_wrangle_and_analyze_data Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 1.7 MB

Using Python and its libraries, gather data from a variety of sources and in a variety of formats, assess its quality and tidiness, then clean it. Then document your wrangling efforts in a Jupyter Notebook, plus showcase them through analyses and visualizations using Python (and its libraries) and/or SQL.

HTML 48.52% Jupyter Notebook 51.37% Rich Text Format 0.11%

udacity_project_wrangle_and_analyze_data's Introduction

Udacity Data Analyst Nanodegree Project - Wrangle and Analyze Data

Introduction

This report is part of the seventh project of Udacity’s Data Analyst Nanodegree. The purpose of this project was to demonstrate key principles and methodologies related to the data wrangling and cleaning process, which is known to take up a major portion of the Data Analyst’s time.

In this project we dealt the dataset provided by the Twitter account @dog_rates, which is also known as WeRateDogs. In short, the tweets in this account contain pictures of people’s dogs, a rating on a scale from 1 – 10 and humorous comments about the dogs in question. The project was executed using Jupyter Notebooks and contains the following sections:

  1. Gathering Data
  2. Assessing Data
  3. Observations and Course of Action
  4. Cleaning Data
  5. Generating Insights

Data Gathering

The data used in this project was gathered from three different sources, which in turn made up three data sets. These were:

  1. Twitter Data: We were provided the master archive called “twitter_archive_enhanced.csv” by Udacity.
  2. Image Prediction Data: This file contains a classification of dog breeds based on the output results of a Convolutional Neural Network, which analyzed the images of dogs in each tweet.
  3. Twitter API and JSON Data: This data was gathered by querying the Twitter API for each tweet’s JSON data, using Python’s “Tweepy” library. The data was then stored in a file valled “tweet_json.txt”. The file was then read, line by line, into a dedicate pandas dataframe. It must be noted that since I wasn’t able to gain access to a Twitter developer account, I proceeded to manually download the file from Udacity’s project resources section.

Gathering, by itself, can prove to be pretty challenging. This is especially true for scraping website APIs for JSON data. However, even in the face of incomplete documentation and support on various websites on how to access their APIs, I took comfort in the fact that there was a number of highly detailed blogs and YouTube tutorials which clarified the process.

udacity_project_wrangle_and_analyze_data's People

Contributors

bachaudhry avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.