remove white space in colnames before mcsm format output
This commit is contained in:
parent
83383b4493
commit
46b1505fdf
3 changed files with 9 additions and 0 deletions
|
@ -298,6 +298,9 @@ else:
|
|||
, '\nis', expected_ncols_toadd, 'the no. of expected cols to add?'
|
||||
, '\n===============================================================')
|
||||
#%%============================================================================
|
||||
# Remove white space everywhere before output: bit me when merging!?
|
||||
mcsm_data_fs.columns = mcsm_data_fs.columns.str.replace(' ', '')
|
||||
|
||||
# writing file
|
||||
print('Writing formatted df to csv')
|
||||
mcsm_data_fs.to_csv(outfile_mcsm_norm, index = False)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue