ply
1
Is the ~ character the equivalent of ! character
whats the R translation of this ?
sub_df = df [
(df["test_result"].isin(test_vals))
& (~df["value"].isin(na_vals))
]
test_vals = [
"positive",
"negative"
]
dup_na_vals = [
"na",
"",
"unknown"
]
! is the "not" operator.
help("!")
will bring up the documentation
ply
3
I know ! is the not operator thanks, I was looking for a translation of the python code which has the ~ ( tilde) symbol
system
Closed
4
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.
If you have a query related to it or one of the replies, start a new topic and refer back with a link.