In this chapter, we will discuss about NumPy char lower . This function returns an array with elements converted to lowercase. It calls str.lower for each element.
import numpy as np print np.char.lower(['HELLO','WORLD']) print np.char.lower('HELLO')
Its output is as follows −
['hello' 'world'] hello
Next Topic – Click Here
Pingback: NumPy char title - Adglob Infosystem Pvt Ltd .........
Pingback: NumPy - String Functions - Adglob Infosystem Pvt Ltd