Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pretty-print format for observation histogram #402

Open
JWCook opened this issue Jun 20, 2022 · 0 comments
Open

Pretty-print format for observation histogram #402

JWCook opened this issue Jun 20, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@JWCook
Copy link
Member

JWCook commented Jun 20, 2022

Currently the histogram is just a dict, like:

{                    
    1: 8,  # January 
    2: 1,  # February
    3: 19, # March   
    ...,   # etc.    
}                    

It would be nice if pprint() handled this by printing out a formatted table like:

Month     Count 
━━━━━━━━━━━━━━━━
January   8     
February  1     
March     19    
...
@JWCook JWCook added the enhancement New feature or request label Jun 20, 2022
@JWCook JWCook added this to the v0.18 milestone Jun 20, 2022
@JWCook JWCook removed this from the v0.18 milestone Nov 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant