Informatics Practices

To access subset of a dataframe, we can use loc[] and iloc[] attributes.

Python Data Handling

3 Likes

Answer

True

Reason — To access a subset of a DataFrame in pandas, we can utilize the loc[] and iloc[] attributes, where loc[] is label-based and iloc[] is integer index-based.

Answered By

2 Likes


Related Questions