The following code
- inserts a new column into DataFrame named df
- inserts this column as a first (col_ind =1) column
- names this column Rata_Die
- populates the column values with an array of Int64 zeros (0)
- makes sure the name of the column is unique
col_ind = 1
insertcols!(df, col_ind, :Rata_Die => zeros(Int64, record_count); makeunique = true )
No comments:
Post a Comment