Files
backtesting.py/doc/scripts/ipython_config.py
2019-01-07 15:13:35 +01:00

10 lines
328 B
Python

# In build.sh, this file is copied into (and removed from)
# ~/.ipython/profile_default/startup/
import pandas as pd
pd.set_option("display.max_rows", 30)
# This an alternative to setting display.preceision=2,
# which doesn't work well for our dtype=object Series.
pd.set_option('display.float_format', '{:.2f}'.format)
del pd