PyData NYC workshop live notes

To filter the mtcars data based on the value of the 'cyl' column, you can use the following siuba code:

from siuba import *

mtcars >> filter(_.cyl == 6)

This code uses the filter() function from siuba to select only the rows where the 'cyl' column is equal to 6. The resulting output will be a new dataframe that contains only those rows that meet the filter criteria.