DataFrame.It
Get Less than of DataFrame and other, element-wise (binary operator eq).
danfo.DataFrame.lt(other, option)
Parameters
Type
Description
Default
other
DataFrame, Series, Array, Scalar
Data structure, or array-like object to compare against
option
Object
axis: 0 or 1. If 0, add column-wise, if 1, add row-wise
{axis: 1}
Examples
Comparing a DataFrame with a scalar value:
Comparing a DataFrame with a Series along the column axis:
Comparing a DataFrame with another DataFrame
Comparing a DataFrame with an Array
Last updated
Was this helpful?