Matlab FIR filter numerator coefficients to python
You don't want np.ones_like(num) in the denominator.  That's making a denominator of all ones, with lots of possibly unstable poles.  Your denominator in Python needs to be [1,0,0,0,0,0,...]. Or just [1] if possible.