When I export a pandas dataframe to .csv files, some of the column titles are not fully displayed e.g., "distance from" instead of "distance from portal". Also these columns are not fully displyed in the dataframe.
Note: these columns are imported(red) as dataframe and merged into other dataframe. The original dataframe columns' titles are fully displayed but those from the newly annexed dataframe are not.
I was trying for exporting the dataframe:
df2.to_csv(rf"D:\New_folder\New_folder\MWD_AND_EXP.csv")
I was also trying for expanding the column head cells in the dataframe:
pd.set_option('display.max_colwidth', None)
however, I have also a problem with the column head height not just the width