How to append an item to a pandas Series in Python

Appending an item to a pandas Series appends the item to the end of the Series.

Solution for How to append an item to a pandas Series in Python : You can use pandas.Series.append() to append an item to a Series Call pandas.Series.append(to_append, ignore_index=False) with to_append as a Series or list/tuple of Series to concatenate to_append to the end of pandas.Series. To not use the index labels of to_append, set ignore_index to True. If not specified, ignore_index is set to False.


how-to-append-an-item-to-a-pandas-series-in-python