Series - Binary operator functions

A dyadic operation or a binary operation involves two operands. Being a specialised container developed for data-analysis purposes with numpy.ndarray as its underlying storage, the pandas.Series class is equipped with several binary functions which take two Series instances and generate a new one. For example, adding two pandas Series instances produce a new Series instance, which is the resultant of the addition operation. Pandas series implements binary operators as well like +, - , *, and /. Binary functions provide a way to send more parameters like fill_value, which replaces None values with a default value.


Copyright 2019 © pythontic.com