3,259 questions
0
votes
0
answers
79
views
Android SDK location currently contains spaces
I am getting this error, am not able to solve
[!] Android toolchain - develop for Android devices (Android SDK version 36.1.0)
X Android SDK location currently contains spaces, which is not supported ...
0
votes
0
answers
47
views
Sendgrid Dynamic Templates: String Contains or IF LIKE
I'm using SendGrid's dynamic template editor, and trying to get checkboxes to display, dynamically, based on if one parameter in the test data contains a substring.
Test data:
... ,"InputVar&...
0
votes
0
answers
53
views
how to search for multiple substrings in a column using polars [duplicate]
In pandas, I can search for multiple different substrings in a column, and determine which rows they can be found in. How can I do this in polars?
my pandas code:
df = pd.DataFrame({'col1':['a red','...
0
votes
1
answer
79
views
How to ignore a tag value while matching two json response payload in karate match
I am using Karate framework and trying to match two feature file json responses are similar, where the date tag has different values so I want to ignore the values but make sure the fields are present....
-3
votes
4
answers
114
views
Needed Aid With Java Schoolwork - Containing Arrays & Array Searchs
Current Outputs:
Is [1, 2, 3] found in [1, 2, 1, 2, 3] ? >>> false
Is [1, 1, 3] found in [1, 2, 1, 2, 3] ? >>> false
Needed Outputs:
Is [1, 2, 3] found in [1, 2, 1, 2, 3]? >>&...
1
vote
1
answer
106
views
How to filter elements from an array made by spliting a string? [duplicate]
When I do ($env:path).split(";"), there are many elements containing the string bin. I want to have a list of them. I try:
($env:path).split(";") | Where-Object {$_ -contains "...
0
votes
1
answer
52
views
PowerShell -contains only working as expected, if the referenced list is referenced separately beforehand [duplicate]
I am perplexed to say the least.
Currently working on a PowerShell script to deploy SharePoint Libraries to users via Intune.
I use a custom detection script, which checks the folder-attribute sync-...
1
vote
1
answer
52
views
Is there a fast way to match a column of strings to each substring in a list?
I have a dataframe column which is comprised of strings. I also have a list of substrings. For every substring, I want to test it against each string in the dataframe column, returning True if the ...
0
votes
2
answers
108
views
Removing a large number of IDs from a large dataframe takes a long time
I have two dataframes df1 and df2
print(df1.shape)
(1042009, 40)
print(df1.columns)
Index(['date_acte', 'transaction_id', 'amount', ...],
dtype='object')
print(df2.shape)
(734738, 37)
print(...
-1
votes
1
answer
120
views
Azure SQL CONTAINS with spaces in string
In Azure SQL Database, i have a NVARCHAR column and Full Text Index.
I am trying to run CONTAINS on it but am running into some weirdness
why does this work:
SELECT * FROM myTable WHERE contains(...
0
votes
1
answer
153
views
jq filter to remove field value if contains element from list
This is somewhat similar to this: jq: how to filter an array of objects based on values in an inner array? but extended
I have a list of values I want to filter out but it is not 1:1 match. It's ...
0
votes
1
answer
75
views
Julia: Easiest and efficient way to check if each element of a vector is in another list? .∈ doesn't seem to work
In Julia, assuming I have a vector and a list of candidates:
x = [1, 2, 3, 4, 5]
targetlist = [1, 2]
I would like to iteratively check for each element of the vector if it is contained in the target ...
0
votes
0
answers
20
views
RegEx - String contains specific verbiage [duplicate]
I am new to RegEx, but I am trying to setup a process that sets a designated 'Role' based on an employee's title.
For instance, I have a list of key phrases that point to the user having a role of '...
-1
votes
1
answer
84
views
LINQ query where clause in list
I am trying to limit the data returned via a repository using the where clause based on a list of values.
I have a PurchaseOrders entity where I want to return all purchase orders that have an ...
1
vote
1
answer
3k
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:
- ...