dataframe
dataframe copied to clipboard
can't copy shortened dataframe cell - ellipsis problem
using Jupyter Lab 4.0.2 and latest versions(should be) of kotlin jupyter and kotlin/dataframe (don't know how to get kotlin jupyter and kotlin/dataframe version, but I just installed them last week
suppose you have a long text in cell, the current implementation shortens it by truncating the original text
this made it very hard to copy the original text using CMD-C/Ctrl-C after text selection
the copied text is(incorrectly truncated)
homed_search_word_recommend_12042_v22...
- is there a better way to grab the full text?
- I think the cell should be rendered by the browser, instead of truncated by the backend code, here a demo
the copied text in the above example is(correctly the full text)
DeepAnswerModel_10794_v1_r144669_sail_deep_answer_0
ref: https://stackoverflow.com/questions/9789723/css-text-overflow-in-a-table-cell and https://codepen.io/markchitty/pen/RNZbRE
it would be better if the cell is middle truncated instead of end truncated, but the majority of browsers don't support middle truncation, implementing it would require more code