Closed reagle closed 1 month ago
Ah, here it is, sometimes I get TypeErrors, sometimes I don't and I don't know why. In either case, when it completes nothing has changed. I can freeze gender
, but in that case I might as well use =
.
From my testing g=
is functional. The actual problem is not g=
, but that the curcol
variable is not available to setcol-expr
(https://github.com/saulpw/visidata/issues/989).
NameError: name 'curcol' is not defined
curcol
should work in all =
expression contexts now.
Confirmed, thank you.
I'm trying to move a column of {m,M,f,F} all to uppercase, I'd love to quickly do it in the current column with
g=
rather than create a new one via=
. I understand there is acurcol
object (is there a list of internal objects and functions?) butgsg=curcol.upper()
fails.gsg=gender.upper()
will usually work, but I had a case yesterday where it didn't and I can't remember/replicate it this morning.