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
I was trying to hcat the last column of a data frame onto another data frame and was surprised that the end keyword does not work for selecting data frame columns. df[:, end] selected the correct data, but it drops the column name. It would be convenient if end worked as an alias for the last integer index like it does for array indexing. (The ncol(df) workaround is easy enough if this is difficult to implement though.)
I was trying to
hcat
the last column of a data frame onto another data frame and was surprised that theend
keyword does not work for selecting data frame columns.df[:, end]
selected the correct data, but it drops the column name. It would be convenient ifend
worked as an alias for the last integer index like it does for array indexing. (Thencol(df)
workaround is easy enough if this is difficult to implement though.)The text was updated successfully, but these errors were encountered: