I've been using Python and Pandas for years and know it well, but I use the reset_index() feature a lot and I'd say 95% of the time, also use drop = True as a keyword. If I'm resetting the index, I think it's a good bet that I don't want to keep the old index in my dataframe. Is there a way to set drop = True as the default, and if I don't want to drop it, instead use drop = False?
I looked at the pd.set_option() documentation and didn't see what I was looking for.
pandas/core/frame.pyandpandas/core/series.py; finding thereset_indexmethod in there and changing default value of keyword argumentdrop.