Python Frequently Used Commands

There are some Python commands I almost apply in each of my script to adjust the default settings, to set up directories.

pd.set_option(‘display.max_columns’, 1000)
pd.set_option(‘display.max_row’, 1000)
pd.set_option(‘display.width’, None)
pd.set_option(‘display.max_colwidth’, -1)

WorkingDir = r”C:\Users\jing\***\Competition”
DataDir = WorkingDir+”\\data”

Leave a Reply

Your email address will not be published. Required fields are marked *