Exploring Hacker News Posts
- Guided Project
- 1.7 hours
- Beginner
- Python
Practice using Python loops, string cleaning, and date handling to uncover real-world data insights.
Overview
In this project, you'll take on the role of a data analyst to explore and analyze a dataset from Hacker News, a popular tech-focused community site. You'll apply your Python skills in string handling, object-oriented programming, and date management to uncover trends in user submissions. By analyzing how these factors relate to post popularity, you'll develop insights on what drives engagement in this online community.
This practical project will strengthen your ability to interpret complex real-world datasets and enhance your data analysis skills. If you're new to Jupyter Notebook or need a refresher, our Jupyter Notebook Guided Project can help you get set up.
Objective: Use your Python string handling, OOP, and date management skills to analyze Hacker News submissions, identifying key factors that contribute to post popularity and strengthening your analytical capabilities for real-world applications.
What You'll Learn
- ✓ Employ loops to explore data CSV data
- ✓ Clean string methods for data analysis
- ✓ Process dates in python
Before You Start
- ✓ Employing loops in Python to explore CSV data
- ✓ Utilizing string methods in Python to clean data for analysis
- ✓ Processing dates from strings using the datetime library
- ✓ Formatting dates and times for analysis using strftime
Project Steps
8 steps
- 1 Introduction
- 2 Removing Headers from a List of Lists
- 3 Extracting Ask HN and Show HN Posts
- 4 Calculating the Average Number of Comments for Ask HN and Show HN Posts
- 5 Finding the Number of Ask Posts and Comments by Hour Created
- 6 Calculating the Average Number of Comments for Ask HN Posts by Hour
- 7 Sorting and Printing Values from a List of Lists
- 8 Next Steps
Join 1M+ data learners on Dataquest.
- 1
Create a free account
- 2
Choose a learning path
- 3
Complete exercises and projects
- 4
Advance your career