- 40 Algorithms Every Programmer Should Know
- Imran Ahmad
- 37字
- 2025-04-04 12:59:10
Creating a subset of a DataFrame
Fundamentally, there are two main ways of creating the subset of a DataFrame (say the name of the subset is myDF):
- Column selection
- Row selection
Let's see them one by one.