Questions tagged [filter]
A program or routine that rejects or accepts data that meets a given criterion. An example would be a filter that removed entries less than a given limit from a set of values. Do NOT use this tag for: Signal or image processing, use [filtering]. Java servlet filters. Use [servlet-filters]. For Bloom filters, use [bloom-filter]. For CSS filters use [css-filters].
filter
32,384
questions
-3
votes
0
answers
20
views
Invalid Syntax . Perhaps you forgot a comma? [closed]
Goods_Sold_2024=Total_Goods[['Renamed Schemes','2024_Total_EP','2024_IP_EP','2024_OP_EP',('sum', 2024, 'Internal'),('sum', 2024, 'External'),'('sum', 2024, 'External')_Paid Goods','('sum', 2024, '...
-1
votes
2
answers
67
views
What does "lambda x: x-0 and x-1" mean?
What does the expression do?
my_tuple = (0, 1, 2, 3, 4, 5)
foo = list(filter(lambda x: x-0 and x-1, my_tuple))
print(foo)
What output is to be expected from above equation?
0
votes
1
answer
26
views
Trying to create a drop down list that is able to filter out all other columns base on selection (calendar months)
I have a rather crude spreadsheet that tracks simple monthly data with each month in a different column. I'm hoping to create a drop down list in cell B6 or C6 which allows the user to select the ...
-1
votes
1
answer
29
views
hi guys i would like to ask about filter in react
hi guys i click on checkbox and i didnot get value even i click to second checkbox i would like to know the problem to fixed it thanks.and when it filter i coming after i click to second checkbox ...
-3
votes
1
answer
35
views
Filter/Remove array object based on value, from nested JSON array object in JavaScript
I have a filter criteria to apply on REST response. This response have nested sub objects. For loop going in task and filter function is not working on nested array objects. Please help me to filter ...
-2
votes
0
answers
16
views
WebClient incorrect request body length after intercept in filter
I intercept my XML request body by adding two nodes and remove some namespaces. When I'm trying to use my filter, in header content-length I have pre-intercept request body length. I checked that if I ...
0
votes
1
answer
24
views
YQ - how to filter an array by field value if matching at least one element in a list
Specifically (https://github.com/mikefarah/yq) 4.35+
I have a comma-separated string of terms and I want to filter down a list if a field value is one of those terms.
Ex) Given the following input:
- ...
1
vote
2
answers
38
views
How to get column-wise summary statistics with missing codes?
I have written a custom function ord_table() to extract summary statistics from a series of databases. To get those summary statistics, I have to filter out missing data codes (all codes are large ...
-1
votes
0
answers
11
views
Pivot filter : How to get the drop-down on the first element of Row in pivot table:
I received an excel file with five elements in pivot table
Geo, Country, Partner Name, Persona, and End Date
However, I am unable to apply filter on Country, Partner Name, Persona, and End Date as the ...
1
vote
0
answers
13
views
One Json file, 2 values to filter, followed by inclusion in the Leaflet Menu Control
I have been on Leaflet maps for a few weeks. We are switching from Google maps to Leaflet. I work with a non-profit organization providing support for citizen water quality samplers.
I do not mind ...
0
votes
0
answers
7
views
Getting Run-time error '1004' when visible row assignment after filter function
I am getting Run-time error '1004', when visible row assignment after filter command. I need to get the row number, after performing Auto filter command. In fact same code was working for other excel ...
0
votes
0
answers
6
views
Events occuring in 2 seconds window
i need suggestions to solve this type of problem: i have a table with different signals that are triggered in different timestamps, i need to calculate the time difference between each events and all ...
0
votes
0
answers
6
views
Madgwick Filter Results Unstable with Stationary Input Data
I'm implementing a Madgwick filter using the `ahrs` library in Python, but I'm encountering an issue where the results are not stable when I input data from a stationary sensor. The output angles are ...
-3
votes
1
answer
47
views
How to loop through a nested JSON object which contains objects and and arrays of objects
I am trying to recreate the search functionality of outlook. My entire data set is contained in the following interfaces:
export interface Folder{
id: string | null;
name: string;
folders: ...
0
votes
2
answers
48
views
SQL not finding a column and cant use a condition to filter data [duplicate]
i'm currently a student and while doing an SQL excercise i had a question and i tried to do a thing.
So this is the main query
SELECT
Date,
Region,
Total_Bags,
Small_Bags,
(...