dkuReadDataset() read NA values

Povilas
Povilas Registered Posts: 23 ✭✭✭✭
My dataset is full of empty values which are denoted as string "NULL". Is there any way to interpret those values as NAs when I reading dataset with dkuReadDataset()?

Same as it is with function read_excel(file_path, na=c("NULL"))
Tagged:

Answers

  • Clément_Stenac
    Clément_Stenac Dataiker, Dataiku DSS Core Designer, Registered, Moderator Posts: 754 Dataiker
    Hi,

    There is no option like that in dkuReadDataset, but you should be able to do something like df[df == "NULL"] <- NA afterwards
Setup Info
    Tags
      Help me…