Skip to content
Discussion options

You must be logged in to vote

Please try explicitly setting the newline characters before sending it to TM1.

# Read Excel
df = pd.read_excel("your_file.xlsx")

df['Comments'] = df['Comments'].str.replace('\n', '\r\n')

# Write to TM1
tm1.write_dataframe("YourCube", df)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jlobeltest
Comment options

Answer selected by jlobeltest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants