NumPy char multiply

NumPy char multiply

In this chapter, we will discuss about NumPy char multiply. This function performs multiple concatenation.

import numpy as np 
print np.char.multiply('Hello ',3)

Its output would be as follows −

Hello Hello Hello 

Next Topic – Click Here

This Post Has 2 Comments

Leave a Reply