1、 Operation index
df[‘name’],name Is the column name
2、 Row index operation
# Generate a list of Boolean values based on filter criteria , That is... In the picture Boolean mask part
filter_condition = df['language'].str.contains('English')
# Display the results that meet the conditions according to the Boolean value list
df[filter_condition]
Examples of simple Boolean mask operations we use everyday :
# select rank The top 10 Result
df[df['rank']<=10]