Cara Menggumpangkan DataFrame di Python berdasarkan beberapa nilai kategori

# Select the species and plot columns from the DataFrame
surveys_df[['species_id', 'plot_id']]

# What happens when you flip the order?
surveys_df[['plot_id', 'species_id']]

# What happens if you ask for a column that doesn't exist?
surveys_df['speciess']
Glamorous Gnat