DEV Community

Nilotpal Choudhury
Nilotpal Choudhury

Posted on

How to replace non integer values in a pandas Dataframe?

I have a dataframe consisting of two columns, Age and Salary

Age   Salary
21    25000
22    30000
22    Fresher
23    2,50,000
24    25 LPA
35    400000
45    10,00,000

How to handle outliers in Salary column and replace them with an integer?

Top comments (0)