The Dataiku Frontrunner Awards have just launched to recognize your achievements! Submit Your Entry

Is the python's List type handled in the DataFrames

UserBird
Dataiker
Dataiker
Is the python's List type handled in the DataFrames
When I try to access an element (expected to be of type 'list') of my DataFrame, It is considered as a string. Is the list type supported by dataiku or should we use only array type ?
0 Kudos
1 Reply
Clément_Stenac
Dataiker
Dataiker
Hi,

An "array" column in DSS will indeed show up as a json-encoded string in the dataframe. You can use json.loads to parse it in the dataframe.

The same rule applies when writing: you must json-encode the column before writing the dataframe to a DSS dataset.
0 Kudos
Labels (3)
A banner prompting to get Dataiku DSS