Cleaning Data

Data we get from different sources may not be in the form or format for direct use in our applications. We need to correct these data by using various methods available in Pandas.

threshUsing thresh option of dropna() removing rows and columns
dropnaDelete NaN rows or columns
df.drop_duplicatesDelete Duplicate rows from DataFrame
duplicatedduplicate rows from DataFrame
Series.duplicatedduplicate value from Series
Series.drop_duplicatesDelete Duplicate data from Series
replaceReplace data
notnullCheck for Not Null and NaN data
dtypesPandas Data types
select_dtypesSubset of DataFrame based on data type
Pandas columns() add_prefix() add_suffix()

Post your comments , suggestion , error , requirements etc here

We use cookies to improve your browsing experience. . Learn more
HTML MySQL PHP JavaScript ASP Photoshop Articles FORUM . Contact us
©2000-2020 All rights reserved worldwide Privacy Policy Disclaimer