NumPy参考 >例行程序 >String operations > numpy.char.greater_equal
numpy.char.
greater_equal
按元素返回(x1> = x2)。
与numpy.greater_equal相比,此比较是通过首先从字符串末尾去除空格字符来执行的。提供此行为是为了与numarray向后兼容。
numpy.greater_equal
具有相同形状的输入数组。
输出布尔数组,如果x1和x2是标量,则输出单个布尔。
也可以看看
equal,not_equal,less_equal,greater,less
equal
not_equal
less_equal
greater
less