Closed TheJakeSchmidt closed 3 years ago
The question is: What should this be translated to in Python? If I understand it right the NA stands for 'not available', but I don't know of anything similar in Python. Any suggestions?
NA_character_
is like NA
(which has type logical
), but with type character
. pyRserve returns True
for conn.eval('NA')
, but maybe it should return None
? I think None
is probably the closest Python equivalent for both NA
and NA_character_
, since Python doesn't have the distinction R has between NA
and NULL
, and I'm not sure that distinction is significant in a standalone context anyway.
This should reproduce it: