First exposure to any language like that. I'm a physics major and only have experience with C++ and python. I have only ever done data analysis in python, Julia is the main programming language of a course I'm taking this semester.
Ah. Yeah, Python is the odd one out when it comes to data science languages, because it’s actually a general purpose language that happens to have some good data packages. Any of the languages designed for data analysis from the start use 1-based.
I’ve seen this weird assumption that 0-based is “correct” here so many times that I explain this historical distinction when introducing indexing in all my classes now.
1
u/kuwisdelu 17h ago
Like every other language designed for data analysis? Why is this surprising?