filter based on column values

degananda264
degananda264 Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 5

plese refer python code here

lsa=["esis","dega"] #sometimes lsa will be "NaN", "","NA"

if lsa not in ["NaN","NA",""]:

df=df[df['column_name'].isin([lsa])

else:

do nothing

could you please convert the same using dataiku formulas

Answers

Setup Info
    Tags
      Help me…