Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
Python Data Curation: Filter Stock Tickers by S&P 500 & Sector with Pandas | Part 2 πŸ“Š
Play lesson

Python Quantitative Finance & Stock Analysis Course (Pandas, NumPy, SciPy) 🐍 - Python Data Curation: Filter Stock Tickers by S&P 500 & Sector with Pandas | Part 2 πŸ“Š

Master Python for Stock Analytics: From Data Download to Custom Analysis Tools

5.0 (1)
14 learners

What you'll learn

Analyze and filter stock data using Python and Pandas.
Download and manage historical stock data in CSV format.
Visualize stock performance with plots and correlation matrices.
Create and install a custom stock analysis library with Python.

This course includes

  • 1.5 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

## 🐍 Python Data Curation: Filter Stock Tickers by S&P 500 & Sector with Pandas | Part 2 Welcome to Part 2 of the **Python Stock Analysis Course**! This video focuses on **data curation and filtering**β€”essential steps after acquiring the full list of exchange tickers in Part 1. You will learn how to write reusable functions to filter large metadata sets down to specific, actionable lists, which is vital for efficient testing and analysis. ### 🎯 Key Learning Outcomes: 1. **Filter Exchange Data:** Create a function to filter all exchange-listed securities down to specific **security types** (e.g., 'Common Stock', 'ETF'). 2. **S&P 500 List:** Learn how to read and process a separate **S&P 500 CSV file** to get a current list of index members. 3. **Sector Filtering:** Implement Pandas logic to filter the S&P 500 list by **economic sector** (e.g., 'Energy', 'Technology'). ### ⏱️ Video Chapters (Jump Ahead!): 0:00 - Introduction & Review of Part 1 (Getting Exchange Data) 0:47 - **Function 1: Filtering by Security Type (Common Stock, ETF)** 2:00 - Returning the Filtered List of Symbols 3:18 - **Function 2: Getting S&P 500 Symbols and Metadata** 4:00 - Reviewing the S&P 500 CSV File Structure (Symbol, Name, Sector) 4:45 - Implementing Pandas Logic for **S&P 500 Sector Filtering** 5:50 - Testing the S&P 500 Function with a Sector Filter (e.g., Energy) 6:40 - Preview of Part 3: Downloading and Curating Historical Stock Data ### πŸ”— Course Series & Resources: * **Part 1 (Watch First!):** [How to Get a List of Stocks on an Exchange](https://youtu.be/bKUZrBAzqJs) * **Get the Code:** https://github.com/mjmacarty/python-stock-analysis ***Disclaimer: This video is for educational purposes only. The information provided should not be construed as investment advice. *** \#PythonForFinance \#PandasDataFrames \#DataCuration \#SP500 \#StockTickers \#DataFiltering \#PythonTutorial \#Part2

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere