Функция возвращает pandas.DataFrame. Как указать тип возвращаемого значения?
FrameDTO = {'x': pd.Series(dtype='int'),
            'y': pd.Series(dtype='str')}
	
DataFrameDTO = pd.DataFrame(FrameDTO) \
                 .astype('datetime64[ns]')	
def make_df() -> type(DataFrameDTO): # error: Invalid type comment or annotation
                                     #  note: Suggestion: use type[...] instead of type(...)
	x = pd.Series([1, 2, 3])
	y = pd.Series(['a', 'b', 'c'])
	df = pd.DataFrame({'x': x, 'y': y})
	df.index = pd.date_range(start='1/1/2021', end='1/3/2021')
	return df
P.S. mypy 0.812
p.S.2. вот такой дизайн не устраивает, хотелось бы четко определиться с типами колонок и индексов и их названием :
def make_df() -> pd.core.frame.DataFrame:

