Best PracticesΒΆ

Try to keep as much of your code as possible in the pandas (or numpy) space. Lots of smart folk have spent a considerable amount of time optimizing those libraries. Since most of the code in pandas and numpy is executed in C, it will be much more performant.

For the data generators, please pass around pandas Dataframes as much as possible. (Which then means that your order generator will have to operate on pandas Dataframes)


Fork me on GitHub