Sunday, June 14, 2026
HomeLanguagesPython | numpy.lookfor() method

Python | numpy.lookfor() method

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
import numpy as np
  
# using numpy.lookfor() method
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
import numpy as np
  
# using numpy.lookfor() method
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

Dominic
Dominichttp://wardslaus.com
infosec,malicious & dos attacks generator, boot rom exploit philanthropist , wild hacker , game developer,
RELATED ARTICLES

Most Popular

Dominic
32515 POSTS0 COMMENTS
Milvus
131 POSTS0 COMMENTS
Nango Kala
6897 POSTS0 COMMENTS
Nicole Veronica
12013 POSTS0 COMMENTS
Nokonwaba Nkukhwana
12109 POSTS0 COMMENTS
Shaida Kate Naidoo
7019 POSTS0 COMMENTS
Ted Musemwa
7262 POSTS0 COMMENTS
Thapelo Manthata
6976 POSTS0 COMMENTS
Umr Jansen
6964 POSTS0 COMMENTS