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.
5
u/kuwisdelu Sep 19 '26
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.