The main difference between a "colon" and a "bang" as row selectors is - if I remember correctly - that when using a colon, a copy is made of the data and no copy is made when using a bang.
DataFramesMeta, Query, and Queryverse are the best things for me in Julia because I can use a "R tidyverse" kind of programming in Julia. For me is the cleanest way to work with dataframes, like Bertalanffy's system theory, "ins-transformations-outs" -> "data-functions-plots".
As far as I remember, colon index creates copy of the data, and bang notation provides the data itself. So if you mutate result of bang operation, you'll see it in original DataFrame. That is why it is preferred way to index, most of the time you do not want to allocate new data.
Its funny watching these again now that I'm a full time Julia programming. The style of my code examples in Talk Julia videos is definitely Python styled and not true Julia styled 😂. We need to make more videos with our new knowledge.
I am phd student here,working across domains in mechanical and ML.Had been exposed to julia recently(been using python for my work) n i simply fell in love with the syntax.Given the ease of use n the scientific syntax,i still shake my head why anyone would use python or R over julia.
The main difference between a "colon" and a "bang" as row selectors is - if I remember correctly - that when using a colon, a copy is made of the data and no copy is made when using a bang.
DataFramesMeta, Query, and Queryverse are the best things for me in Julia because I can use a "R tidyverse" kind of programming in Julia. For me is the cleanest way to work with dataframes, like Bertalanffy's system theory, "ins-transformations-outs" -> "data-functions-plots".
As far as I remember, colon index creates copy of the data, and bang notation provides the data itself. So if you mutate result of bang operation, you'll see it in original DataFrame. That is why it is preferred way to index, most of the time you do not want to allocate new data.
Its funny watching these again now that I'm a full time Julia programming. The style of my code examples in Talk Julia videos is definitely Python styled and not true Julia styled 😂. We need to make more videos with our new knowledge.
I am phd student here,working across domains in mechanical and ML.Had been exposed to julia recently(been using python for my work) n i simply fell in love with the syntax.Given the ease of use n the scientific syntax,i still shake my head why anyone would use python or R over julia.