Getting rid of the outliers:
To inform Python to make the required change in the original dataset, use inplace =True. The value of row index might be a single value, a list of values, or a NumPy array, but it must be one-dimensional. Code in its entirety: Using IQR, identifying and deleting outliers.