Missed Data (pandas)

pandas

  • Some elements in dataframe can be missed
  • They are usually expressed as NaN (np.nan)
    • If they are not NaN, it is better to change them to NaN
      • df = df.replace(‘them’, np.nan)
  • On data analysis
    • 1st check whether there are missed data
    • 2nd remove or replace them

Pagination


© 2017. All rights reserved.

Powered by Hydejack v조현진