Thursday, November 13, 2025
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
32399 POSTS0 COMMENTS
Milvus
95 POSTS0 COMMENTS
Nango Kala
6765 POSTS0 COMMENTS
Nicole Veronica
11916 POSTS0 COMMENTS
Nokonwaba Nkukhwana
11984 POSTS0 COMMENTS
Shaida Kate Naidoo
6889 POSTS0 COMMENTS
Ted Musemwa
7141 POSTS0 COMMENTS
Thapelo Manthata
6836 POSTS0 COMMENTS
Umr Jansen
6839 POSTS0 COMMENTS