Browse Source

pandas: increase max number of rows when pretty-printing from 60 to 200

Fabian Peter Hammerle 3 years ago
parent
commit
5944764a6b
1 changed files with 4 additions and 0 deletions
  1. 4 0
      profile_default/startup/init.py

+ 4 - 0
profile_default/startup/init.py

@@ -3,10 +3,14 @@ import pathlib
 import typing
 
 import numpy
+import pandas
 import scipy.io.wavfile
 import sympy
 from matplotlib import pyplot  # pylint: disable=unused-import; frequently used in shell
 
+# https://pandas.pydata.org/pandas-docs/stable/user_guide/options.html
+pandas.options.display.max_rows = 200
+
 # https://docs.sympy.org/latest/modules/interactive.html#module-sympy.interactive.printing
 sympy.init_printing(pretty_print=True)