With the domojupyter.write_dataframe can you pass a specific schema?

Options
Jasveer_Singh
Jasveer_Singh Member
edited November 2023 in Jupyter Workspaces

Hi All,

Am trying to write a DataFrame to a dataset using the domojupyter.write_dataframe function.

The df in question has a field that is a Boolean, when I run the script and then check the output dataset in the domo Data section, the field has been created as an Integer and the entire column is blank.

Question is, can you pass a specific schema to the function so that all columns are created with the desired datatype? or is there a way to ensure Boolean fields are created correctly?

The workaround I have built is converting the column to a String then writing it, but I want to know if it is possible write it as a Boolean.

Cheers!

Best Answers

Answers