Jupyter Notebook: Difference between dataiku.Dataset("XX") and get_dataset("XX")

Options
Thomas_K
Thomas_K Registered Posts: 15 ✭✭✭✭

I have this code:

ds1 = dataiku.Dataset("T73RM067")

ds2 = dataiku.api_client().get_project("AIIMEINKAUF").get_dataset("T73RM067")

print(type(ds1))

print(type(ds2))

Which returns


<type 'instance'>

<class 'dataikuapi.dss.project.DSSProject'>

How do these differ? Is there any documentation about what I can do with those? If I change anything in them, will the changes be reflected onto the original dataset?

Best Answer

Setup Info
    Tags
      Help me…