Python typehint for float or dict of floats

后端 未结 0 1479
不思量自难忘°
不思量自难忘° 2021-02-13 17:48

Basically, I\'m trying to typehint a function that looks like this:

def function(df: pd.DataFrame, dict_or_float):
    pass         


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