Why can't I import a function in python using the as syntax?

前端 未结 0 1080
忘了有多久
忘了有多久 2020-12-02 03:14

Why does this work but not the other?

# import sklearn.metrics.mean_squared_error as mse, not possible because is a funciton is my guess?
from sklearn.metrics         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题