pyspark.pandas.DataFrame.ge

DataFrame.ge(other: Any) → pyspark.pandas.frame.DataFrame[source]

Compare if the current value is greater than or equal to the other.

>>> df = ps.DataFrame({'a': [1, 2, 3, 4],
...                    'b': [1, np.nan, 1, np.nan]},
...                   index=['a', 'b', 'c', 'd'], columns=['a', 'b'])
>>> df.ge(1)
      a      b
a  True   True
b  True  False
c  True   True
d  True  False