NumPy char title

NumPy char title

In this chapter, we will discuss about NumPy char title . This function returns a title cased version of the input string with the first letter of each word capitalized.

import numpy as np 
print np.char.title('hello how are you?')

Its output would be as follows −

Hello How Are You?

Next Topic – Click Here

This Post Has 2 Comments

Leave a Reply