I do notice the names of the columns much match In Julia (seems sensible) and also length or you get:
ERROR: DimensionMismatch(“arrays could not be broadcast to a common size; got a dimension with lengths 5 and 4”)
so I checked in R, and it’s the same unless a multiple of the length:
A ← 1:2
B ← 1:3
A+B
[1] 2 4 4
Warning message:
In A + B : longer object length is not a multiple of shorter object length
B ← 1:4
A+B
[1] 2 4 4 6
I was maybe expecting NA or NaN for extra rows (is there an easy way?) but more importantly any idea about what’s the idea behind the repeating/multiple R behavior and if Julia’s DataFrames should support such (maybe optionally).