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,398
questions
0
votes
1
answer
26
views
get a controller method name in a Spring filter
I have a SpringBoot 2.6.14 WebApp and I'm using a Spring OncePerRequestFilter to log some information about the HTTP request and response.
The code is similar to the follow one:
@Slf4j(topic = "...
1
vote
1
answer
59
views
Conditional filtering of dataframe in R
I wonder how to dplyr::filter() my DATA to catch the rows for IDs whose Language value when 'Type!=5F' and when 'Type==5F' changes from other languages to "English"?
For example, ID==1 has ...
0
votes
1
answer
45
views
Filter a new array which index is divided by two [duplicate]
I have a array of number. I want to filter a new array which have element which index is divided by two
Example:
let arr = [1, 4, 5, 2, 8, 9, 7, 10];
I want filter a 2 new arrays like:
let odd = [1, ...
0
votes
0
answers
7
views
why we import reduce() function in python?
Basically in python we use map(), filter and reduce function. But we only import reduce function, not map or filter. why is it so??
I was learning and practicing , but I got stuck on this logic. ...
0
votes
1
answer
47
views
RegExtract a value from a comma-separated string
I have a Google Sheet located here: https://docs.google.com/spreadsheets/d/1s7tzyz9A9caaJGbiWPm1CDNBxmnv0Xrh3lb5yj9CDOk/
The first tab simply collects information from a Google Form. Enter your name (...
1
vote
1
answer
62
views
Change hover and active text color in WooCommerce YITH Ajax Product Filter
I have a YITH ajax product filter on my page but there is no styling options. I have tried to search the plugin CSS but what I can find there it says hover text color to be white. This does not come ...
1
vote
2
answers
37
views
How do I auto fill an empty value of an object in an array with an object that matches from another array in JS?
I've been trying to create a table that auto fill empty fields depending of the previous information provided but I don't know how to make it possible, do you have any idea?
Here's an example of an ...
1
vote
2
answers
81
views
Filter to remove starting zeros from numeric array in php
I want to create a callback function to remove from a numeric array the given values.
Given this array: [ 0, 0, 0, 0, 1, 0, 3, 4, 5, 2, 0, ];
I want to create a callable function to be passed to ...
0
votes
0
answers
22
views
PowerAutomate - While using 'Get Records' action with 'LastModifiedDate' filter, some records are missing in the output
From PowerAutomate while using Get Records action with 'LastModifiedDate' filter,
some records are missing in the output of Power Automate 'Get Records' action even though they fall within the ...
0
votes
0
answers
24
views
How do I filter requests with root path in Springboot?
The value of servlet.context-path is set to /api in my application.yml, how could I filter the request with root path, i.e., https://www.example.com/?
I tried to register a filter where the ...
0
votes
1
answer
42
views
Regular expression for Unique Sort finding phone extensions from a multicolumn list
Working within a Google Sheet, I have a list of people's work locations or departments in Columns A or G, their names in Columns B or H, and their extensions in Columns C or I. It is formatted this ...
0
votes
0
answers
45
views
Excel VBA transpose/filter to other sheet
I'm trying to automate the sets of data. So far I have this code that filters the data to another sheet but I cannot figure out how to transpose the data vertically. I've tried adding Transpose:=True ...
1
vote
3
answers
116
views
Combining Excel FILTER() and SUM() Functions
As efficiently as possible, I am wanting to take a tabular dataset in Excel where there are (purposefully) duplicate identifiers to records and consolidate this to a unique/summed dataset (very common ...
0
votes
0
answers
50
views
How to apply ordering based on another model field data in DRF?
I am trying to develop an API to filter JobApplication model data, and facing problem to ordering the response data for a custom field.
Here is my JobApplication model.
class JobApplication(models....
0
votes
1
answer
76
views
R and dplyr it's not recognizing a variable and realizing the condition
I have one data frame about animal sightings (more than 300), with species of whales, dolphins, pinipedes and penguins.
And I want to create a new column reino, which would be misticeto for whales, ...