Python | numpy.lookfor() method
Last Updated :
03 Oct, 2019
With the help of numpy.lookfor()
method, we can get the information about the module in the numpy by using numpy.lookfor()
method.
Syntax : numpy.lookfor(module_name)
Return : Return the information about the module.
Example #1 :
In this example we can see that by using numpy.lookfor()
method, we are able to get the information about the module.
import numpy as np
print (np.lookfor( "isin" ))
|
Output :
Search results for ‘isin’
————————-
numpy.isinf
Test element-wise for positive or negative infinity.
numpy.compat.is_pathlib_path
Check whether obj is a pathlib.Path object.
numpy.isin
Calculates `element in test_elements`, broadcasting over `element` only.
Example #2 :
import numpy as np
print (np.lookfor( "isdigit" ))
|
Output :
Search results for ‘isdigit’
————————-
numpy.bytes0.isdigit
B.isdigit() -> bool
numpy.str0.isdigit
S.isdigit() -> bool
numpy.chararray
chararray(shape, itemsize=1, unicode=False, buffer=None, offset=0,
numpy.char.isdigit
Returns true for each element if all characters in the string are
numpy.chararray.isdigit
Returns true for each element if all characters in the string are
None
Share your thoughts in the comments
Please Login to comment...