TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Selecting Subsets of Data in Pandas

2 pointsby TedPetrouover 7 years ago

1 comment

TedPetrouover 7 years ago
Selecting subsets of data in pandas is one of the most fundamental things you must learn to use it effectively. Unfortunately, its one of the most confusing operations as there are many available syntaxes to use.<p>This is part 1 of a 7-part series that will cover every single imaginable way to select subsets of data in pandas. Each section will be available in a Jupyter Notebook and there are exercises with detailed solutions for each.<p>Part 1 covers selection with [ ], .loc, and .iloc.<p>Find the [Jupyter Notebook here](<a href="https:&#x2F;&#x2F;github.com&#x2F;tdpetrou&#x2F;Learn-Pandas&#x2F;blob&#x2F;master&#x2F;Selecting%20Subsets%20of%20Data%20in%20Pandas%20part%201.ipynb" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;tdpetrou&#x2F;Learn-Pandas&#x2F;blob&#x2F;master&#x2F;Selecti...</a>)<p>Find the [solutions here](<a href="https:&#x2F;&#x2F;github.com&#x2F;tdpetrou&#x2F;Learn-Pandas&#x2F;blob&#x2F;master&#x2F;Solutions%20-%20Selecting%20Subsets.ipynb" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;tdpetrou&#x2F;Learn-Pandas&#x2F;blob&#x2F;master&#x2F;Solutio...</a>)