pandas.Series.append

Concatenate two or more Series.

param to_append
Series or list/tuple of Series

Series to append with self.

param ignore_index
bool, default False

If True, do not use the index labels.

New in version 0.19.0.

param verify_integrity
bool, default False

If True, raise Exception on creating index with duplicates.

return

Series Concatenated Series.

Limitations

  • Parameter verify_integrity is currently unsupported by Intel Scalable Dataframe Compiler

  • Parameter ignore_index is supported as literal value only

  • This function may reveal slower performance than Pandas* on user system. Users should exercise a tradeoff

    between staying in JIT-region with that function or going back to interpreter mode.

Examples

Concatenate two or more Series.
import pandas as pd
from numba import njit


@njit
def series_append():
    s1 = pd.Series(['one', 'two', 'three'])
    s2 = pd.Series(['four', 'five', 'six'])

    return s1.append(s2)


print(series_append())
$ python ./series/series_append.py
0      one
1      two
2    three
0     four
1     five
2      six
dtype: object

See also

pandas.absolute

General function to concatenate DataFrame or Series objects.