I started exploring python and was trying to do some calculation with pi. Here's how I got it:
import math as m
m.pi
But someone suggested using numpy instead of math:
import numpy as np
np.pi
What is the difference between these two, and are there certain circumstances where we should choose to use one instead of the other?