numpy.ndarray vs pandas.DataFrame

后端 未结 1 1496
伪装坚强ぢ
伪装坚强ぢ 2021-02-05 08:45

I need to make a strategic decision about choice of the basis for data structure holding statistical data frames in my program.

I store hundreds of thousands of records

相关标签:
1条回答
  • 2021-02-05 09:10

    pandas.DataFrame is awesome, and interacts very well with much of numpy. Much of the DataFrame is written in Cython and is quite optimized. I suspect the ease of use and the richness of the Pandas API will greatly outweigh any potential benefit you could obtain by rolling your own interfaces around numpy.

    0 讨论(0)
提交回复
热议问题