Comments (3)
I see that this 20-character limit is hardcoded here:
Line 207 in 4359c63
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?
from skimpy.
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.
from skimpy.
This can be closed as fixed in 98dbf76.
I've made a few changes:
- long column names now wrap
- 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!
from skimpy.
Related Issues (20)
- Wrong number of NA rows in the output? HOT 3
- Add tests for compilation of docs
- Consider Pandas 2.0+ support? HOT 2
- add timedelta to the generated test data
- adding support for datetime.date object types HOT 1
- Words per row and Word count improper when we have multiple text columns HOT 2
- Support for polars HOT 1
- Skim output is not able to be recorded or exported to html or svg HOT 1
- Citation HOT 1
- Error on __infer_datatypes due to 'cannot convert NA to integer' HOT 1
- Add export data to features / quick start
- A lot of Jupyter dependencies
- Explore switching docs to Quartodoc
- skim raises exception with multiindexes HOT 3
- Remove Jupyter book dependency HOT 1
- Please make it available on Polars as well. HOT 4
- Error for .clean_columns with polars HOT 2
- Error importing 'Any' from 'typing_extensions' in Databricks environment HOT 1
- Discrepancy between pandas describe results and those provided by skimpy
- Coverage github action is broken
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from skimpy.