且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

您如何使用numpy/scipy处理丢失的数据?

更新时间:2021-09-16 01:47:25

如果您愿意考虑使用一个库,pandas(http://pandas.pydata.org/)是一个基于numpy构建的库,其中许多其他提供的东西:

If you are willing to consider a library, pandas (http://pandas.pydata.org/) is a library built on top of numpy which amongst many other things provides:

智能数据对齐和丢失数据的集成处理:在计算中获得基于标签的自动对齐,并轻松将混乱的数据处理为有序的形式

Intelligent data alignment and integrated handling of missing data: gain automatic label-based alignment in computations and easily manipulate messy data into an orderly form

在金融行业中,我已经使用了将近一年的时间,在该行业中,丢失和对齐不当的数据已成为常态,这确实使我的生活更轻松.

I've been using it for almost one year in the financial industry where missing and badly aligned data is the norm and it really made my life easier.