question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Easy selection of variables for filters / filtering in general

See original GitHub issue

Problem statement

A recurring issue brought up in a test group is that setting up filters is hard. The reason is that, unlike demo data, all their datasets include units in parenthesis, often with unicode. This is very important for the user to know what data they are dealing with (compounded when metric and imperial units mix in a same dataset). That means backtick escaping, but it is also really hard and time consuming to type stuff like:

Max Operating Temp (°C)

Output Capacitance (μF)

Or things like subscripts or diacritics: P₁₁, P₁₂, énergie cinétique

This is especially the case when you are live exploring in a meeting and get a question like “how does this perform under such and such conditions” and these are not in the legend.

Possible solution:

  1. drag a drop variables
  2. dataframe viewer supporting filtering at column header (like qgrid does)

A related issue is that once you have added the variable to the query, how do you figure out what values are valid / typical? This is especially problematic for categorical variables. Implementing solution 2 above would fix that. With 1, some form of contextual help would possibly work.

In the past, I’ve implemented something like 2 for a web based product and customers really liked that functionality.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
adamerosecommented, Feb 5, 2021

Regarding getting variable names into filters more easily, I think just paste is the best option. Drag and drop would be more work to implement and not really much more functional. I can implement copy/paste of single cells from DataFrame header/index cells, I’ll do that tonight won’t take long.

0reactions
adamerosecommented, Feb 6, 2021

stuff like: Max Operating Temp (°C) Output Capacitance (μF)

By the way feel free to add one of those datasets or similar to the pandasgui.datasets if it’s not private. Data with weird symbols like that would be good for test cases.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Filter data in a range or table - Microsoft Support
Select any cell within the range. · Select Data > Filter. Filter button · Select the column header arrow Filter arrow . ·...
Read more >
Feature Selection Methods | Machine Learning
Filter methods measure the relevance of features by their correlation with dependent variable while wrapper methods measure the usefulness of a ...
Read more >
Feature Selection: Filter Methods | Analytics Vidhya - Medium
Filter Methods. A subset of features is selected based on their relationship to the target variable. The selection is not dependent of any ......
Read more >
How to Choose a Feature Selection Method For Machine ...
Filter -based feature selection methods use statistical measures to score the correlation or dependence between input variables that can be ...
Read more >
11.2 Simple Filters | Feature Engineering and Selection
The most basic approach to feature selection is to screen the predictors to see if any have a relationship with the outcome prior...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found