Python - pandas, DataFrame look like Nan but the behavior is like number -


when or save to_csv dataframe see cell containing nan, when use same cell behaves number. how comes?

in [84]: db['category_1']['also'] out[84]: 0.91652216992816438  in [85]: db.loc['also'] out[85]:  frequency     0.275729 ts_1              true category_1         nan name: also, dtype: object  in [88]: db['category_1'].sum() out[88]: 99.99999999999974  in [89]: db['category_1']['also'] = 0          db['category_1'].sum() out[89]: 99.08347783007159 


Comments

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -