본문 바로가기

Data Science/Pandas

[pandas] Set options

Pandas has an options API configure and customize global behavior related to DataFrame display, date behavior and more.

 

The most using options for dataframe are below :

 

import pandas 

# Max column views 
pd.options.display.max_columns = 999 

# Suppress scientific notation
pd.set_option('display.float_format', lambda x: '%.5f' % x)

'Data Science > Pandas' 카테고리의 다른 글

[pandas] Optimizing DataFrame's Memory  (0) 2022.10.11
[pandas] Introduction to Pandas  (0) 2022.10.04
[pandas] Basic Data Exploration  (0) 2022.09.19
[pandas] Useful personal function for EDA  (0) 2022.09.18
[pandas] Cut rows based on integer  (0) 2022.09.18