How-to articles, tricks, and solutions about DATAFRAME
How to filter Pandas dataframe using 'in' and 'not in' like in SQL
You can filter a Pandas DataFrame using the isin() and ~(not in) methods.
How to iterate over rows in a DataFrame in Pandas
You can use the iterrows() method to iterate over rows in a Pandas DataFrame.
Renaming column names in Pandas
To rename the column names of a Pandas DataFrame, you can use the DataFrame.rename() method.
Set value for particular cell in pandas DataFrame using index
In pandas, you can set the value of a specific cell in a DataFrame using the at method.
Truth value of a Series is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all()
The truth value of a Series in pandas can be ambiguous, as it can contain multiple values.