261 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
66
views
How can I dynamically write each feature class to a separate layer with a modified name when using a single merged feature type reader?
I have a set of feature classes inside a File Geodatabase, which I read using the "Single Merged Feature Type" option in FME. After reading, I perform some analysis on the data.
At the end ...
0
votes
2
answers
66
views
I have an AMPl model, like an infeasible or unbounded problem. Set dualreductions=0 or iis=1 for definitive answer. 0 simplex iterations
# SETS set B; # Candidate central kitchens set S; # Schools set C; # Categories class set K; # Set of commodities set N; # Set of nutrients set Y; # Set of groups set G {Y} within K; # Set of ...
1
vote
2
answers
98
views
How to add a suffix to duplicates array of objects using javascript?
I've got a following array of objects
let views = [
{
name: "A View",
active: true,
},
{
name: "B View",
active: false,
},
{
name: "C View",
...
0
votes
2
answers
284
views
Golang calculate hash from io.Reader and append to the end - Multireader
I've got a reader in representing some file data which I want to process, but also calculate hash which would then be appended at the end of it.
The challenge is that data hash can only be calculated ...
0
votes
1
answer
207
views
spring kafka adding -n suffix for clientId, how to remove it
With limited understanding of Spring kafka. I'm facing this problem.
As visible in the log spring is adding -1 (or -0) for client id. This is creating a problem as kafka infrastructure has name ...
0
votes
2
answers
137
views
Suffix sum using recursion: Memory limit exceeded error in Python
I found this Suffix Sum challenge on CodeForces as I was practising recursion sums:
Given two numbers N and M, and an array A of N numbers. Calculate the sum of the last M numbers.
Note: solve ...
0
votes
0
answers
172
views
Detect prefix and/or suffix in python
I'm trying to write a program to detect whether a word has a prefix and/or a suffix. Normally, I'd just use .startswith() and .endswith(). I'd prefer not to use that here because certain words, like '...
-1
votes
6
answers
4k
views
Optimization: Count the number of suffix pairs
Question: Count the total number of pairs in a list of strings, so that for each pair, one string is the suffix of the other. For example, "door" is the suffix of "backdoor", "...
3
votes
2
answers
231
views
Custom sort on value suffix representing sizes (XXS, XS, S, M, L, XL, XXL)
I'm trying to sort my array values by size but I have a problem.
My array pulls out values that are different than the values of the "cmp" function used to sort.
The code is this:
function ...
0
votes
1
answer
177
views
IFrame Local Storage Name has additional Suffix "^0<parent domain url>" in Chrome Browser
I've encountered an strange behavior in Chrome
related to the local storage url naming that the browser decides.
I've noticed that the local storage name inside an iframe has a suffix "^0" ...
0
votes
1
answer
37
views
Sum dataframe Columns with numeric suffix based on whether the suffix is greater than values of anther column
Apologies in advance if my description is not clear enough.
Basically looking to add up columns in a dataframe with numeric suffix like a1, a2,a3 but would like the summation to be based on values in ...
0
votes
1
answer
1k
views
In Snowflake, how can i format the numbers with "M" and "B" suffix for Millions and Billions
In Snowflake, how can i format the numbers with "M" and "B" suffix for Millions and Billions
like display the number as 10M instead of 10,000,000
and 10B instead of 10,000,000,000
...
0
votes
3
answers
2k
views
How do I add a suffix to every value in one column in pandas
I keep trying to add a suffix to every single value in one column in a dataframe. I accidentally added what I wanted to be a suffix as a prefix. I don't know how to fix this. How do I change the ...
1
vote
1
answer
539
views
Need help dropping variables in SAS with same suffix
NOTE: Invalid argument 2 to function SUBSTR. Missing values may be generated.
NOTE: No rows were selected.
%let suffix=_mic;
proc sql noprint;
select name into :_mic separated by ' '
from ...
1
vote
3
answers
54
views
Add Suffix to Dataframe with Specific Repeating Column Name
i have data in a dataframe such as the following columns: week, SITE, LAL, SITE, LAL. I need to assign a suffix to the col name == 'SITE' such that the final df will look like: week, SITE_1, LAL, ...