The financial functions of numpy have been deprecated and will be removed from future versions. They are now part of a new package called numpy_financial.
I understand it