pyspark.pandas.Series.ge

Series.ge(other: Any) → pyspark.pandas.series.Series

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.a >= 2
a    False
b     True
c     True
d     True
Name: a, dtype: bool
>>> df.b.ge(2)
a    False
b    False
c    False
d    False
Name: b, dtype: bool