You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The diag function from LinearAlgebra is pretty handy. It may just be extra clutter to have in DataFrames, but it isn't hard to write and I can think of a few cases where it'd be nice to have (heatmaps, etc).
I think that diag(::DataFrame) can be written st you can @assert diag(df, n) == diag(Matrix(df), n) so it wouldn't pollute the namespace as much as if it returned a different type.
Thoughts?
The text was updated successfully, but these errors were encountered:
The diag function from LinearAlgebra is pretty handy. It may just be extra clutter to have in DataFrames, but it isn't hard to write and I can think of a few cases where it'd be nice to have (heatmaps, etc).
I think that
diag(::DataFrame)
can be written st you can@assert diag(df, n) == diag(Matrix(df), n)
so it wouldn't pollute the namespace as much as if it returned a different type.Thoughts?
The text was updated successfully, but these errors were encountered: