In the R - python comparison, the R command is:
a[a>90] <- 90
and the python alternatives given are:
The simplest way to do this in python is
a[a > 90] = 90
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.