fabs() is included in Python math module so we have to import it before using. Where as abs() is part of built in functions of core Python so no need to import any library.
fabs() returns float dtype. Whenever input number can’t be converted to float , fabs() generates error. However abs() returns the same dtype of input number.