negate

fnSeries negate(Series a)

Unary negation of a numeric Series; non-numeric kinds throw. Nulls propagate.

Parameters

athe operand

Returns

the negated Series.

Throws

DataFrameException for non-numeric dtypes.