📜  python 何时使用 pandas 系列、numpy ndarrays 或只是 python 字典 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:43.651000             🧑  作者: Mango

代码示例1
# A useful rule of thumb is to use the simplest data structure that still
# satisfies your needs. If we rank the data structures from most simple
# to least simple, it usually ends up like this:

1. Dictionaries / lists
2. Numpy arrays
3. Pandas series / dataframes

# See source for more details