I would like to return a boolean series based on multiple conditions and then subset that in the initial dataframe.
This is returning a dataframe type rather than a boolean series.
#remove outliers
minInCollection = myDataFrame[
(myDataFrame.Age>myDataFrame.Age.min()) &
(myDataFrame.Age<myDataFrame.Age.max()) &
(myDataFrame.Paid_Off_In_Days>myDataFrame.Paid_Off_In_Days.min()) &
(myDataFrame.Paid_Off_In_Days<myDataFrame.Paid_Off_In_Days.max())
]
print("type is ", str(type(minInCollection)))
<class 'pandas.core.frame.DataFrame'>