Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

Compression (verbose=False) on CSV writer - robust? #5

Open
MarkGotham opened this issue Dec 1, 2022 · 1 comment
Open

Compression (verbose=False) on CSV writer - robust? #5

MarkGotham opened this issue Dec 1, 2022 · 1 comment

Comments

@MarkGotham
Copy link
Owner

Implement Verbose = False option.

def write_measure_map_to_sv(measure_map: list, path: str = None, field_names: list = None, verbose: bool = False):

Shorthand for only the moments that diverge from a standard:

  • measure number one higher than previous
  • nominal TS same as previous (no change)
  • actual length same as nominal (no change)

Would compress measure map for many pieces down from one row per measure, to 2 at all (first/last).

@MarkGotham
Copy link
Owner Author

Implemented in 8253a7e.
Verbose=False removes first bar of of first time section - check that suits use cases.

@MarkGotham MarkGotham changed the title Compression on CSV writer (low priority) Compression (verbose=False) on CSV writer - robust? Dec 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant