Closed rjurney closed 4 years ago
@rjurney thanks for suggesting! +1 to this as a useful feature. Current team a bit spread thin, but if you want to submit a PR definitely do!
Ok, I'll try. Thanks!
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 7 days.
Is your feature request related to a problem? Please describe.
I can't read the polarity field in the
LFAnalysis.lf_summar()
table. It means nothing to me. I'm a human, I read text labels not numeric ones.Isn't this one much easier to read wh the labels printed out?
Describe the solution you'd like
I want an argument named
label_names
added to LFAnalysis.lf_summary that maps numeric labels to label names that are displayed in the table. I achieve this with the following code:This could be done internally by
LFAnalysis.lf_summary
using alabel_names
argument which could be a numerically keyeddict
or a sorted list corresponding to 0 and up. I don't think we would need to include -1 forABSTAIN
.Describe alternatives you've considered
Today I thought about filling my apartment with plastic balls, crawling underneath them and taking a long nap. Instead I went with this.
Additional context
I'm serious about the ball thing.