AttributeError: 'DSSDataset' object has no attribute 'write_with_schema'

vaishnavi
vaishnavi Registered Posts: 40 ✭✭✭✭
edited July 16 in Using Dataiku
I am trying to connect to Dataiku DSS instance using "dataikuapi" python library outside DSS. I am able to connect to the client, get the project and get the dataset. But unable to write to the dataset using "write_with_schema" or "write_from_dataframe" options.

Below is my piece of code:
cellid_dataiku = project.get_dataset("cellid")
print(type(cellid_dataiku))
cellid_dataiku.write_with_schema(df)
Getting the below error :-

AttributeError: 'DSSDataset' object has no attribute 'write_with_schema'

Answers

Setup Info
    Tags
      Help me…