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
It seems that skimpy truncates variable names to 20 symbols. This seems to be unreasonable as there is a lot of empty space which is not used (indicated with yellow squares). This empty space can be removed to have more space for longer names
How can we control the maximum length of variable names?
Can this empty space be removed to longer names?
Can an ellipsis (single symbol "…") be used to pay attention to that variable name was truncated?
There should be a way to identify ambiguous variables after the names are truncated (see the second figure, red squares).
The text was updated successfully, but these errors were encountered:
str_limit: int=20# For longer strings, limit chars shown.
Can it be converted into a parameter/argument? Or can different lengths be used for different data types? Or can this vary depending on the available column width in order not to leave any empty space?
This could do with something that adjusts more naturally to the number of characters in the column. As a general rule, I try to avoid lots of parameter options in favour of good average settings as this makes the code more maintainable and more concise.
Will take a look at it and see if we can change the behaviour to better suit cases where the needed column space is less.
instead of the strings of column names being truncated, as they were before, now the width of the columns is truncated
This means (in reference to your points):
You will have to do this yourself in your dataframe, but with the new column name wrapping, it should now be unambiguous as to which column you're dealing with when columns have similar characters for the first 20 characters
the empty space is removed
instead of ellipsis, we have a wrapped column
see 1.
Hopefully this helps improve the package for you and other users!
It seems that
skimpy
truncates variable names to 20 symbols. This seems to be unreasonable as there is a lot of empty space which is not used (indicated with yellow squares). This empty space can be removed to have more space for longer namesThe text was updated successfully, but these errors were encountered: