PyDataset
PyDataset copied to clipboard
Make data return pd.DataFrame
Right now, one of the return types of data is None. This means type checkers such as pylance will not be sure if the imported data is a dataframe. Please modify the return type to be pd.DataFrame, and if that dataframe isn't found either raise an error or return a blank one.