iloc is used for filtering rows and columns based on integer position. For example:
df.iloc(:, [0, 3])
It means that I want to filter all rows, and column 0 & 3.
For more detail explanation, take a look at the picture below:
iloc is used for filtering rows and columns based on integer position. For example:
df.iloc(:, [0, 3])
It means that I want to filter all rows, and column 0 & 3.
For more detail explanation, take a look at the picture below: