Use isinstance to Check Data Type


Are you a data professional working with a pandas dataset and have you found that one or more columns are objects? Normally an object contains strings, however you cannot assume that. In you exploratory data analysis (EDA) you may want to use isinstance to examine a column further.

Learn with the Internet

Have a look at an article by Chris Moffitt called Cleaning Up Currency Data with Pandas.

Leave a Reply