{"id":29057565,"url":"https://github.com/djdurga/uber-rides-data-analysis","last_synced_at":"2025-06-27T06:06:02.113Z","repository":{"id":298546016,"uuid":"1000355131","full_name":"Djdurga/Uber-Rides-Data-Analysis","owner":"Djdurga","description":"This project explores and analyzes Uber ride data to uncover patterns in user behavior, trip purposes, distances, and time trends using Python libraries like Pandas, Seaborn, and Matplotlib.","archived":false,"fork":false,"pushed_at":"2025-06-11T16:46:44.000Z","size":173,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-11T18:10:56.451Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Djdurga.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-11T16:45:01.000Z","updated_at":"2025-06-11T16:54:14.000Z","dependencies_parsed_at":"2025-06-11T18:11:02.514Z","dependency_job_id":"3e7ce44d-445a-489b-86a3-e0f74bb306f3","html_url":"https://github.com/Djdurga/Uber-Rides-Data-Analysis","commit_stats":null,"previous_names":["djdurga/uber-rides-data-analysis"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Djdurga/Uber-Rides-Data-Analysis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Djdurga%2FUber-Rides-Data-Analysis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Djdurga%2FUber-Rides-Data-Analysis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Djdurga%2FUber-Rides-Data-Analysis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Djdurga%2FUber-Rides-Data-Analysis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Djdurga","download_url":"https://codeload.github.com/Djdurga/Uber-Rides-Data-Analysis/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Djdurga%2FUber-Rides-Data-Analysis/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262202495,"owners_count":23274380,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-27T06:06:01.058Z","updated_at":"2025-06-27T06:06:02.105Z","avatar_url":"https://github.com/Djdurga.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Uber Rides Data Analysis using Python\n\nThis repository contains an in-depth exploratory data analysis (EDA) of Uber rides using a dataset that includes ride details like start/end times, ride purpose, category (Business or Personal), distance traveled, and city locations. The analysis was performed using Python's powerful data handling and visualization libraries.\n\n## 📊 Project Description\n\nThis project is focused on uncovering patterns and insights from a historical dataset of Uber rides. The dataset includes detailed trip records, including:\n\n* Timestamps for start and end of trips\n* Distance in miles\n* Trip purpose (Meeting, Customer Visit, Errand, etc.)\n* Ride category (Business or Personal)\n* Origin and destination cities\n\nThe goal of this project is to:\n\n* Clean and preprocess the dataset\n* Explore how Uber rides vary based on purpose, day of the week, and category\n* Visualize distributions and frequencies of various ride metrics\n* Identify frequent travel routes and patterns\n\nThe insights gained can be useful for personal travel optimization, business expense tracking, and understanding user behavior in ride-sharing applications.\n\n---\n\n## 🔎 Key Objectives\n\n* Convert and parse datetime fields to proper formats\n* Handle missing or null values in the dataset\n* Extract new features like trip duration, weekday, and month\n* Generate visualizations for trip purposes, distances, ride categories, and routes\n* Understand business vs personal ride distribution\n\n---\n\n## 🔧 Technologies Used\n\n* **Python**\n* **Pandas** – Data manipulation\n* **NumPy** – Numerical processing\n* **Matplotlib** \u0026 **Seaborn** – Data visualization\n* **Jupyter Notebook** – Interactive analysis\n\n---\n\n## 💡 Insights from EDA\n\n### 🚗 Trip Purpose Analysis\n\n* Most trips are business-related.\n* Common purposes include `Meeting`, `Meal/Entertain`, `Errand/Supplies`, and `Customer Visit`.\n* A noticeable portion of trips had no recorded purpose (marked as \"Unknown\").\n\n### 🕛 Temporal Patterns\n\n* Rides are most frequent on **weekdays**, especially on **Wednesdays and Thursdays**.\n* Most rides occurred in **January** and **March**.\n\n### ⚖️ Distance \u0026 Duration\n\n* The majority of rides are **short-distance** (under 10 miles).\n* A few outliers travel 60+ miles.\n* Average trip duration is under 30 minutes.\n\n### 🚤 Ride Category\n\n* **Business trips** make up the majority of the dataset.\n* **Personal trips** are less common, suggesting the dataset may be from an employee expense log.\n\n### 📍 Common Routes\n\n* Most frequent routes are within the same city (e.g., `Fort Pierce → Fort Pierce`).\n* Some long-distance trips between cities such as `Fort Pierce → West Palm Beach`.\n\n---\n\n## 📂 Dataset Features\n\n| Column Name | Description                                |\n| ----------- | ------------------------------------------ |\n| START\\_DATE | Date and time when the trip started        |\n| END\\_DATE   | Date and time when the trip ended          |\n| CATEGORY    | Business or Personal                       |\n| START       | Starting city of the ride                  |\n| STOP        | Destination city of the ride               |\n| MILES       | Distance traveled in miles                 |\n| PURPOSE     | Reason for the trip (meeting, visit, etc.) |\n\n---\n\n## 🔀 Data Cleaning Steps\n\n* Converted `START_DATE` and `END_DATE` to datetime objects using `pd.to_datetime()`\n* Created a new `DURATION` column in minutes\n* Handled missing values in the `PURPOSE` column by filling with `'Unknown'`\n* Generated new columns like `WEEKDAY`, `MONTH`, and `ROUTE` for deeper insights\n\n---\n\n## 🖋️ Visualizations\n\n* **Trip Purpose Count Plot**: Showcased most common trip purposes\n* **Distance Histogram**: Displayed how far most rides travel\n* **Trips by Weekday \u0026 Month**: Highlighted when people ride the most\n* **Category Comparison**: Compared Business vs Personal rides\n* **Top Routes**: Showed the most traveled routes in the dataset\n\n---\n\n## 📁 Folder Structure\n\n```\nUber-Rides-EDA/\n├── UberDataset.csv\n├── Uber_EDA.ipynb\n└── README.md\n```\n\n---\n\n## ✨ How to Run\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/yourusername/Uber-Rides-EDA.git\n   cd Uber-Rides-EDA\n   ```\n\n2. Install dependencies:\n\n   ```bash\n   pip install pandas matplotlib seaborn\n   ```\n\n3. Run the notebook:\n\n   ```bash\n   jupyter notebook Uber_EDA.ipynb\n   ```\n\n---\n\n## 👩‍💼 Author\n\n**Durga Rani**\nM.Tech Data Science \u0026 AI (2024–2026)\n\n\n---\n\n## 💌 Contributions \u0026 Feedback\n\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change or improve.\n\nIf you found this project helpful, feel free to give it a star ⭐!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdjdurga%2Fuber-rides-data-analysis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdjdurga%2Fuber-rides-data-analysis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdjdurga%2Fuber-rides-data-analysis/lists"}