Pandas options during import

PHOTO EMBED

Thu May 18 2023 07:01:25 GMT+0000 (Coordinated Universal Time)

Saved by @hardikraja #python #pandas

import pandas as pd

import warnings
warnings.filterwarnings('ignore')
pd.set_option('display.max_columns', None) 
pd.set_option('display.expand_frame_repr', False)
pd.set_option('max_colwidth', None)
pd.set_option('display.float_format', lambda x: '%.3f' % x)
content_copyCOPY