DataFrame vs. Pandas (vs. Excel...), e.g. to refer to previous row

Quoting from the thing I linked above:

The stuff you put is a start, but because I don’t know what your df is, it can’t run. Sometimes, it’s as easy as doing df = DataFrame(a=repeat([:x,:y], 5), b=rand(10)). But it’s important to have code that runs, and a clear indication of what you want.

1 Like