Jun-15-2020, 02:51 PM
Couple ways to do it. Purely Pandas would try this
start = 1000 df['autoinc'] = pd.RangeIndex(stop=df.shape[0])+startIt will work without the "start", did not have a dataframe handy to test by adding the start.