Questions tagged [filter]
A program or routine that blocks access to data that meet a particular criterion. An example would be a "Web filter" that screens out adult websites. Do NOT use this tag for: Java servlet filters. Use [servlet-filters] instead. For Bloom filters, use [bloom-filter] instead. For CSS filters use [css-filters].
25,882
questions
1
vote
3answers
32 views
Filer contents of a string array (Java)
I am writing a code that takes a string array and filters out certain contents that contain a certain letter. For example, for the array that I have, I want to filter out all the contents that contain ...
0
votes
0answers
11 views
Computer vision techniques to measure a distance in the same object?
I would like to calculate the length of the label of a bottle of coke using computer vision techniques?
e.g. find size of label
I tried to use some filters (sobel, canny, ...) to better highlight the ...
0
votes
1answer
14 views
Bigcommerce get options from Filters API
I'm currently making a e-commerce site trough the bigcommerce Filters V3 API.
For this, I'm trying to make a filter. I can sccesfully get the available filters as described in the docs, but it's ...
1
vote
2answers
23 views
Python: how to print only the lines that are true from csv file
As stated above. This is my csv file:
class, time, duration, building
math, 10:55, 2hr, B01
religion, 3:45, 2hr, B02
PDHPDE, 12:05, 2hr, B03
history, 1:00, 2hr, B04
history extension, 11:00, 2hr, ...
0
votes
0answers
10 views
Merging low reliability timeseries in a robust manner
I need temperature timeseries in South Africa. Problem is that I can only find estimates (modelized) that cost a LOT of money, or I can scrap WeatherUnderground (WU). WU is mostly made of amateur ...
0
votes
0answers
21 views
Extract newly provisioned device from Ansible playbook [closed]
I'm trying to create a playbook to store the list of existing HDD in a file, then perform the scsi scanning, and then list the devices. When I do symmetric_difference with prior and post scanning, I'm ...
0
votes
0answers
7 views
Filtering out data points
I have a character variable consisting of three different groups and another numeric variable with stress scores. How do I find the mean stress scores for each group individually?
0
votes
1answer
22 views
Boolean Field for django_filter search bar
I am trying to show an option on a search bar where the user can choose a True or False value for the boolean fields lead_register(and finished_leveltest) below.
class LevelTestFilter(django_filters....
1
vote
0answers
12 views
Primeng column-filter fails because of empty datatable filters object
I`ve run into tricky bug with primeng table filters (version 11). May be someone met it before?
I have usual primeng table with LazyLoad event. I`ve got huge amount of filters in that table. Some of ...
-4
votes
0answers
31 views
Why can Boolean values filter rows of data? [closed]
if my data is 4rows*6columns,you can create like this below:
df= pd.DataFrame(np.random.rand(4,6))
then I want get the third row,I can give a boolean series,
df[False, False,True,False]
I can ...
1
vote
1answer
28 views
Using if_else or case_when to conditionally filter a dataframe in two different ways
Minimal example - I have 9 responses from 3 subjects to a questionnaire with two questions:
set.seed(1)
df <- data.frame(ID = c(rep("A", 2), rep("B", 3), rep("C", 4)),
...
-2
votes
1answer
25 views
How can I delete specific object from an array that ha the object in Javascript? [closed]
this time, I am writing codes with Javascript.
I have some problems that I can't delete specific object from an Array by using map method.
this code below totally works, but I don't wanna do this, ...
-4
votes
0answers
10 views
Filter Categories Based on their Product's Attributes in WooCommerce [closed]
I am trying to find a way to filter certain categories based on their products' attributes. All of the filter plugins, etc. that I have found only work for filtering products. Example: I would like to ...
0
votes
0answers
8 views
Implementing Date Range filter on a table in React without any libraries
I am currently attempting to implement a date range filter for an existing table without using any external libraries. I looked through stackOverflow and many other websites but couldn't fid any ...
1
vote
1answer
13 views
Show only the own console messages and errors (JS)
I use several JS files that I don't have access to and write all over my console.
But I only want to display my own message with console.log("Own message.") and errors (e.g. 404 error).
If I ...