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
Is there a flag to pprint to tell it not to print out large array fields, or to print out the first and last few elements only with an ellipsis ... between? I have structs that contain large vectors. pprint() prints out every element in the vectors which makes the output unreadable.
The text was updated successfully, but these errors were encountered:
It is not supported directly, but it is not particularly hard to customize PrettyPrinting to add an ellipsis. For example, you could override PrettyPrinting.quoteof() for your struct types:
Is there a flag to pprint to tell it not to print out large array fields, or to print out the first and last few elements only with an ellipsis ... between? I have structs that contain large vectors. pprint() prints out every element in the vectors which makes the output unreadable.
The text was updated successfully, but these errors were encountered: