Indexing is an important concept in all data analysis and programming. One tricky thing for layman users is that in most cases indexing starts from 0 except in R programming. Even seems counterintuitive in our daily life, it makes total sense in the computer world where the binary 0 and 1 dictates the foundational rule. When … Continue reading Keep the DataFrame Structure after Applying Groupby in Python