Informatics Practices

The del statement can remove the rows as well as columns in a dataframe.

Python Pandas

1 Like

Answer

False

Reason — The del statement is used to delete columns in a DataFrame, while the drop() function is used to delete rows from a DataFrame.

Answered By

3 Likes


Related Questions