-
I can't dynamically select a notebook in a DSS macro + Using Python API to access notebooks fails
I’m trying to create a project macro in DSS 14.2.2 that allows a user to select a notebook from a dropdown and then perform actions on it (e.g., add a code block). Problems encountered: The dropdown appears in the macro UI, but it never shows any options. (I want all projects' notebooks). Attempting to use the Python API…
-
How to stack columns from one dataset
Hi, Here is a simplified schema of a basic dataset structure I need to reshape: firstname name vote col4 col5 col6 col7 col8 col9 etc.. ARTHAUD Nathalie 5 ARMAND Thierry 9 ARNAUD Bernard 6 etc.. ARTHAUD Nathalie 7 ARMAND Thierry 3 ARNAUD Bernard 8 etc.. The number of columns in this is variable but it will always be a…
-
Python script to visual recipes conversion
I have an existing Python script that needs to be converted into Dataiku visual recipes. Is there any supported or automated way in Dataiku to generate visual recipes from Python code, or does this need to be done manually?
-
How to share objects using the Dataiku API
Hi, It appears that the settings.add_exposed_object() method is undocumented. So documenting here few examples for the benefit of others: import dataiku client = dataiku.api_client() project = client.get_project(source_project_key) settings = project.get_settings() # Share Managed Folder…
-
How to find un-used shared-in datasets of a project with python API ?
Thanks for your time at the beginning. I have a project and I want to know which datasets are shared-in from other projects (black icons) with Python API. However, those shared-in datasets could be seperated into 2 group: ① unused: just showing in in the zone for checking ② used: being used through recipe for analyzing I…
-
Custom recipe: Default value not work for values from API
In plugin I cannot see default value for field in recipe.json, when value comes from API. In recipe.json I have field: { "name": "field", "label": "Field", "type": "SELECT", "getChoicesFromPython": true, "mandatory": true, "defaultValue": "Default", }, In above code default value is set to "Default", but it is not set in…
-
Meet "Connection xxx not found" when exporting a project
Thanks for your time at the beginning. I am currently exporting a project, only check the 4 default options. However, it failed with a warning "An invalid argument has been encountered : Connection 'SF_VAW_PROD_ATP_MED' does not exist"Then I tried to use Python API to find this connection, but failed again: import dataiku…
-
Get a list of code environments that use a specific python package and the version specified?
Hi, We have an internal python package that gets used by dozens of code environments and we need to know which code environments those are and what version is present. Is there a way to do this with DSS? thx in advance Operating system used: Windows 10
-
Can the hyper-parameter change for each new training model with each new dataset
Dear dataikuler thanks for reading my question. Hi, so my problem is when i re-train my model with different dataset (like my first dataset is from 12/10 /2024 to 12/10/2025 and my second dataset is 30/11/2024 to 30/11/2025) and then i deploy the second model i check the hyperparameter of each version and i see all of them…
-
Como hacer Naive Bayes en Dataiku