Movatterモバイル変換


[0]ホーム

URL:


SciPy

numpy.core.defchararray.equal

numpy.core.defchararray.equal(x1,x2)[source]

Return (x1 == x2) element-wise.

Unlikenumpy.equal, this comparison is performed by firststripping whitespace characters from the end of the string. Thisbehavior is provided for backward-compatibility with numarray.

Parameters:

x1, x2 : array_like of str or unicode

Input arrays of the same shape.

Returns:

out : ndarray or bool

Output array of bools, or a single bool if x1 and x2 are scalars.

Previous topic

numpy.core.defchararray.zfill

Next topic

numpy.core.defchararray.not_equal

  • © Copyright 2008-2009, The Scipy community.
  • Last updated on Jun 10, 2017.
  • Created usingSphinx 1.5.3.

[8]ページ先頭

©2009-2025 Movatter.jp