I guess I'm slightly uncomfortable with this because it's not absolutely guaranteed that both this and the later import work since they are not strictly the same. I would recommend defining this at the same time as you import scipy for actual use in the model.