Where

The Where statement is used in SQL to apply filter conditions to filter rows based on certain criteria. The equivalent in pandas is condition-based logical subsetting.

Suppose we want to find out the rows where active_status ==1. This can be done in the two tools in the following manner.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset