You need set display.max_seq_items
to None
or some value higher as 100
- see docs:
Option: display.max_seq_items
Default: 100
Function: when pretty-printing a long sequence, no more then max_seq_items will be printed. If items are omitted, they will be denoted by the addition of ”...” to the resulting string. If set to None, the number of items to be printed is unlimited.
idx = [u'Id', u'Guid', u'HardDisksInfo', u'ServerVersion', u'Email',
u'BackupServer', u'DataSizeQuota', u'HostRamSize', u'CpuModel',
u'CpuSpeed',
u'Post_Month', u'Geography', u'Region', u'Budget_Region',
u'Product_Family', u'Product_Name', u'Product_Version', u'License_Type',
u'Language', u'row_num']
idx = idx * 10
df = pd.DataFrame(columns=idx)
print (df.columns)
Index(['Id', 'Guid', 'HardDisksInfo', 'ServerVersion', 'Email', 'BackupServer',
'DataSizeQuota', 'HostRamSize', 'CpuModel', 'CpuSpeed',
...
'Post_Month', 'Geography', 'Region', 'Budget_Region', 'Product_Family',
'Product_Name', 'Product_Version', 'License_Type', 'Language',
'row_num'],
dtype='object', length=200)
#temporaly display all columns
with pd.option_context('display.max_seq_items', None):
print (df.columns)
Index(['Id', 'Guid', 'HardDisksInfo', 'ServerVersion', 'Email', 'BackupServer',
'DataSizeQuota', 'HostRamSize', 'CpuModel', 'CpuSpeed', 'Post_Month',
'Geography', 'Region', 'Budget_Region', 'Product_Family',
'Product_Name', 'Product_Version', 'License_Type', 'Language',
'row_num', 'Id', 'Guid', 'HardDisksInfo', 'ServerVersion', 'Email',
'BackupServer', 'DataSizeQuota', 'HostRamSize', 'CpuModel', 'CpuSpeed',
'Post_Month', 'Geography', 'Region', 'Budget_Region', 'Product_Family',
'Product_Name', 'Product_Version', 'License_Type', 'Language',
'row_num', 'Id', 'Guid', 'HardDisksInfo', 'ServerVersion', 'Email',
'BackupServer', 'DataSizeQuota', 'HostRamSize', 'CpuModel', 'CpuSpeed',
'Post_Month', 'Geography', 'Region', 'Budget_Region', 'Product_Family',
'Product_Name', 'Product_Version', 'License_Type', 'Language',
'row_num', 'Id', 'Guid', 'HardDisksInfo', 'ServerVersion', 'Email',
'BackupServer', 'DataSizeQuota', 'HostRamSize', 'CpuModel', 'CpuSpeed',
'Post_Month', 'Geography', 'Region', 'Budget_Region', 'Product_Family',
'Product_Name', 'Product_Version', 'License_Type', 'Language',
'row_num', 'Id', 'Guid', 'HardDisksInfo', 'ServerVersion', 'Email',
'BackupServer', 'DataSizeQuota', 'HostRamSize', 'CpuModel', 'CpuSpeed',
'Post_Month', 'Geography', 'Region', 'Budget_Region', 'Product_Family',
'Product_Name', 'Product_Version', 'License_Type', 'Language',
'row_num', 'Id', 'Guid', 'HardDisksInfo', 'ServerVersion', 'Email',
'BackupServer', 'DataSizeQuota', 'HostRamSize', 'CpuModel', 'CpuSpeed',
'Post_Month', 'Geography', 'Region', 'Budget_Region', 'Product_Family',
'Product_Name', 'Product_Version', 'License_Type', 'Language',
'row_num', 'Id', 'Guid', 'HardDisksInfo', 'ServerVersion', 'Email',
'BackupServer', 'DataSizeQuota', 'HostRamSize', 'CpuModel', 'CpuSpeed',
'Post_Month', 'Geography', 'Region', 'Budget_Region', 'Product_Family',
'Product_Name', 'Product_Version', 'License_Type', 'Language',
'row_num', 'Id', 'Guid', 'HardDisksInfo', 'ServerVersion', 'Email',
'BackupServer', 'DataSizeQuota', 'HostRamSize', 'CpuModel', 'CpuSpeed',
'Post_Month', 'Geography', 'Region', 'Budget_Region', 'Product_Family',
'Product_Name', 'Product_Version', 'License_Type', 'Language',
'row_num', 'Id', 'Guid', 'HardDisksInfo', 'ServerVersion', 'Email',
'BackupServer', 'DataSizeQuota', 'HostRamSize', 'CpuModel', 'CpuSpeed',
'Post_Month', 'Geography', 'Region', 'Budget_Region', 'Product_Family',
'Product_Name', 'Product_Version', 'License_Type', 'Language',
'row_num', 'Id', 'Guid', 'HardDisksInfo', 'ServerVersion', 'Email',
'BackupServer', 'DataSizeQuota', 'HostRamSize', 'CpuModel', 'CpuSpeed',
'Post_Month', 'Geography', 'Region', 'Budget_Region', 'Product_Family',
'Product_Name', 'Product_Version', 'License_Type', 'Language',
'row_num'],
dtype='object')