How to type hint a function that only uses a subset of a constructor's possible return types?

后端 未结 0 1226
别跟我提以往
别跟我提以往 2020-11-30 03:09

I have a function that uses a GeoPandas GeoDataFrame, which is a subclass of a Pandas DataFrame. GeoPandas\' read_file() constructor c

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