diff --git a/pandas_ext/excel.py b/pandas_ext/excel.py index c2b57b3..79fb76b 100644 --- a/pandas_ext/excel.py +++ b/pandas_ext/excel.py @@ -24,5 +24,6 @@ def to_excel(df: pd.DataFrame, file_path: str, engine='', **kwargs) -> None: with open(tmp_file, 'rb') as source, s3.open(file_path, 'wb') as dest: dest.write(source.read()) os.remove(tmp_file) + return return df.to_excel(file_path, **kwargs)