start pandas index from 1 code example
Example 1: df index start from 1
>>> result.index += 1
>>> result.index
Int64Index([1, 2, 3], dtype=int64)
Example 2: index start from 1 pandas
>>> result.index += 1
>>> result.index
Int64Index([1, 2, 3], dtype=int64)