Articles → Numpy → modf function in numpy

modf function in numpy






Purpose













Example


import numpy as np

print("modf of 3.7 is :", np.modf(3.7))
print("modf of 1 is :", np.modf(1))
print("modf of -5.1 is :", np.modf(-5.1))



Output



Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Friday, June 07, 2019

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250