Use the below code to specify the maximum number of columns to display for each pandas dataframe in a notebook:
import pandas as pd
pd.set_option('display.max_columns', 50)
Use the below code to specify the maximum number of columns to display for each pandas dataframe in a notebook:
import pandas as pd
pd.set_option('display.max_columns', 50)
Comments
0 comments
Article is closed for comments.