File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -1192,17 +1192,21 @@ def print_data_tabular(
11921192 def save_data_to_tsv (
11931193 self ,
11941194 file : IO [str ],
1195+ include_units : bool = True ,
1196+ include_delegate_debug_data : bool = False ,
11951197 ) -> None :
11961198 """
11971199 Stores the underlying EventBlocks in tsv format to facilitate copy-paste into spreadsheets.
11981200
11991201 Args:
12001202 file: Which IO stream to print to. Do not use stdout, as tab separator is not preserved.
1203+ include_units: Whether headers should include units (default true)
1204+ include_delegate_debug_data: Whether to include delegate debug metadata (default false)
12011205
12021206 Returns:
12031207 None
12041208 """
1205- df = self ._prepare_dataframe ()
1209+ df = self ._prepare_dataframe (include_units , include_delegate_debug_data )
12061210 df .to_csv (file , sep = "\t " )
12071211
12081212 # TODO: write unit test
You can’t perform that action at this time.
0 commit comments