title: Detecting Outlier from data set by using Tukey method python
body: <p>I have data frame with shape of 1000 observations ,6 columns </p>
  
  <p>the first four coulmns are int and the last two are string data type.</p>
  
  <p>i need help to find function code that could help me to use tukey method to detect outlier and replace outlier with nan value not removing the outlier.</p>
  
  <p>I tried many code to detect outlier but i am facing error massage because of the string data type in my data frame. </p>