Skip to content
Prev 177328 / 398506 Next

Translate the elements of a dataframe

Try this:

2 * (DF == "+") - (DF != "-")
On Thu, Apr 16, 2009 at 2:58 PM, Juergen Rose <rose at rz.uni-potsdam.de> wrote: