Facebook Page Twitter Page LinkedIn Page
× Pandas Tutorial Pandas Resources


The Pandas Series has a number of built-in functions that are always available for use. For example, pop() function is used to delete the element of specified label from the series. The most frequently used functions of pandas series are listed below:

Pandas - Series Functions

Binary operator Functions

FunctionDescription
add() Returns addition of series and argument, element-wise (binary operator add).
sub() Returns subtraction of series and argument, element-wise (binary operator sub).
mul() Returns multiplication of series and argument, element-wise (binary operator mul).
div() Returns floating division of series and argument, element-wise (binary operator truediv).
truediv() Returns floating division of series and argument, element-wise (binary operator truediv).
floordiv() Returns integer division of series and argument, element-wise (binary operator floordiv).
mod() Returns modulo of series and argument, element-wise (binary operator mod).
pow() Returns exponential power of series and argument, element-wise (binary operator pow).
lt() Get less than of series and argument, element-wise (binary operator lt).
gt() Get greater than of series and argument, element-wise (binary operator gt).
le() Get less than equal to of series and argument, element-wise (binary operator le).
ge() Get greater than equal to of series and argument, element-wise (binary operator ge).
eq() Get equal to of series and argument, element-wise (binary operator eq).
ne() Get Not equal to of series and argument, element-wise (binary operator ne).

Descriptive statistics Functions

FunctionDescription
sum() Returns the sum of the values over the specified axis.
max() Returns the maximum of the values over the specified axis.
min() Returns the minimum of the values over the specified axis.
mean() Returns the mean of the values over the specified axis.
median() Returns the median of the values over the specified axis.
mode() Returns the mode(s) of the series.
std() Returns the sample standard deviation over the specified axis.
var() Returns unbiased variance over the specified axis.
skew() Returns unbiased skew over the specified axis.
kurt() Returns unbiased kurtosis over the specified axis.
kurtosis() Returns unbiased kurtosis over the specified axis.

Indexing/Iteration Functions

FunctionDescription
head() Returns the first specified number of rows.
pop() Return item and drops from series.
tail() Returns the last specified number of rows.

5