Hi Everyone,
I am currently struggling with realizing an idea i had for further automatization of my daily work.
Starting point of my idea is an automated data retrieval script i wrote for fetching manufacturing data from an sql server for a given set of IDs. I managed to implement a piece of code to automatically get rid of all the columns which have only missing or only "0"-values. The next step would be to filter out all the columns which only show one distinctive value. Now here is where it starts getting complicated.
I don't want to remove every column with a standard deviation of zero as there are some process values (columns) where a single distinctive value is sensible and still carries information (i.e. recipe-Nr the IDs have seen in a certain process step). I was thinking of a list of checkboxes or a selectable list comprising the column names and basic column statistics (especially standard deviation) and an action button to delete selected columns from the data table (I did find the Column viewer functionality very interesting for this, unfortunately I was not able to retrieve any piece of code this feature is using). In the best case, it would be possible to filter the columns which should be appearing within this selectable list based on their respective column statistics (StdDev = 0).
So right now I am sitting here with my idea and have no clue how to realize it. Any help or idea is greatly appreciated.
Best wishes
Malte