Is there a simple way to append a pandas series to another and update its index ? Currently i have two series
from numpy.random import randn
from pandas import Series
a = Series(randn(5))
b = Series(randn(5))
and i can append b to a by
a.append(b)
>>> 0 -0.191924
1 0.577687
2 0.332826
3 -0.975678
4 -1.536626
0 0.828700
1 0.636592
2 0.376864
3 0.890187
4 0.226657
but is there a smarter way to make sure that i have a continuous index than
a=Series(randn(5))
b=Series(randn(5),index=range(len(a),len(a)+len(b)))
a.append(b)