set pandas display options in python console starting script for debugging
Every time I want to inspect pandas dataframes in the debugger, I paste the following into my console:
import pandas as pd
pd.set_option('display.width', 400)
pd.set_option('display.max_columns', 10)
I thought by including this in my python console starting script, I wouldn't have to do this every time. However, the starting script doesn't have any effect there. Am I using / understanding this feature correctly? Thanks!
请先登录再写评论。