numpy.char.lower ()

Cette fonction renvoie un tableau avec des éléments convertis en minuscules. Il appellestr.lower pour chaque élément.

import numpy as np 
print np.char.lower(['HELLO','WORLD']) 
print np.char.lower('HELLO')

Sa sortie est la suivante -

['hello' 'world']
hello