04pallav
9/11/2017 - 10:29 PM

partial functools

partial functools

from functools import partial
a=partial(np.subtract,5)
a(3) #==np.subtract(5,3)
#just a fancy command #maybe useful

#can also be used for some arguments
s_na_std = partial(pd.Series.std, skipna = True)