0 votes
1 view
in Data Science by (57.5k points)

I keep getting the following error:

Error: unexpected '}' in "}"

my code:

for (row in data){

  if terminate_reason == "(Null Value)"

    recode(data$terminate_reason, "(Null Value)" = NA)

}

1 Answer

0 votes
by (28.1k points)

This is just a syntax error:

Enclose your 'if' in curly braces.

Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...