Delete Pandas DataFrame row based on multiple conditions
You can delete DataFrame rows based on condition you passed to DataFrame.
Create a Pandas DataFrame with data
Delete rows based on condition
**Delete all rows where Promoted is False
Delete rows based on multiple condition
** Delete all rows where Grade in 'D' or 'E'
Multiple condition on different columns
** Delete all rows where TotalMarks less than 40 and Promoted is False.
Drop entire column from Pandas DataFrame
** Drop the Grade column from DataFrame
Remove multiple column entirely from Pandas DataFrame
**Drop the Grade and Promoted column from DataFrame