python when to use pandas series, numpy ndarrays or simply python dictionaries code example
Example: python when to use pandas series, numpy ndarrays or simply python dictionaries
# 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