Replacing values in a data frame

Thanks, I did not know this!
In my toy example, replacing = by .= gave a speed-up of nearly a factor 2.

1 Like