You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to write an HTML report to an I/O stream (i.e. typing.IO). The motivation is to write directly to a remote filesystem opened via fsspec. It also would help users create compressed reports.
Is there a better way currently than writing to a temp file and then copying that?
It's hard for to_file API to support this feature request since it infers format from path extension. So maybe another method like to_file_stream or a format option for to_file?
The text was updated successfully, but these errors were encountered:
ProfileReport.to_file
allows writing to a local path, specified as a str or pahtlib.Path:https://github.com/pandas-profiling/pandas-profiling/blob/d4e70185fa7e16b1d0b07dfb731897ef06bb3067/src/pandas_profiling/profile_report.py#L254-L262
I'd like to write an HTML report to an I/O stream (i.e.
typing.IO
). The motivation is to write directly to a remote filesystem opened via fsspec. It also would help users create compressed reports.Is there a better way currently than writing to a temp file and then copying that?
It's hard for to_file API to support this feature request since it infers format from path extension. So maybe another method like
to_file_stream
or a format option for to_file?The text was updated successfully, but these errors were encountered: