>>969 にも書いておいたが、importの書き方は、
import math as m
import モジュール名 as 名前

以下のような形式は正しいのか?
>import numpy.ma as ma
import 関数名 as 名前

以下の形式ならあるけど
from math import cos, sin, tan
from モジュール名 import メンバ名, メンバ名, ...

モジュール内のすべてのメンバを、インポートする
from モジュール名 import *