24,521
questions
0
votes
1
answer
42
views
How to get string positions And Length by multi-split filter
I am trying to create what I expect from the subroutine (GetAllPosition).
I don't know where to use RsultOfPostionAndLength in the code to get the expected output
My expectation of the output for (...
1
vote
3
answers
64
views
Splitting a string that is delimited by multiple delimiters (regex)
My data is structured like this:
df <- data.frame(SampleID = c(
"Akt.B.M_1867_1:100", "Akt.B.M_1869_1:100", "Akt.B.M_1871_1:100",
"Akt.B.M_1878_1:100", &...
-1
votes
0
answers
26
views
Split Pandas/Python Series into separate columns [duplicate]
I have Series data that looks like this, df['metric.value'] =
[1731010477.141, 1.6222222222222222]
[1731010477.141, 0]
[1731010477.141, 0.000004033819047]
[1731010477.141, 0]
[1731010477.141, 2....
2
votes
1
answer
41
views
How to create in ggplot separate plots for every subject from a study
I have data from crossover study for which I need to plot some graphs.
No problem to draw an 'average' plot for all subjects, but I also need separate plots for every subject with two treatements ...
1
vote
3
answers
80
views
how can I retrieve Photoshop artlayer names from specific sub-layerset into an array?
I have a Photoshop PSD document which has a layerset named “Flags“. “Flags” has a sub-layerset called “LEFT-Flags“ which itself contains artlayers, each with a national flag image. The number of these ...
2
votes
1
answer
56
views
How to separate the string by specific symbols and write it to list?
I have the following string:
my_string='11AB2AB33'
I'd like to write this string in a list, so 'AB' is a single element of this list in the following way:
['1', '1', 'AB', '2', 'AB', '3', '3']
I ...
0
votes
0
answers
7
views
The issue of converting vectors to row records
The table fields are as follows. Can the following fields re-split a row vector into multiple rows?
symbol
---------------------
"a,b,c"
"a,c,d,e,f"
"b,...
0
votes
2
answers
45
views
Julia: splitting a substring only allows to pick the first entry of the output
I'm starting to learn Julia, and I have found a weird behaviour for the split() function that I don't know how to get around.
I'm writing a script to reformat the output of a PCA, and the first column,...
0
votes
2
answers
64
views
Unable to extract timestamp from Date/Timestamp combo column in Excel 2016 [duplicate]
I'm trying to extract a timestamp from a date/timestamp data combo into a different column, but I'm getting random numbers. I've tried text-to-columns, LEFT, and RIGHT. Then, I special-pasted the ...
2
votes
3
answers
111
views
How to prevent the SPLIT function from converting text to non-text in Google Sheets
I have a comma-delimited list of words in a single spreadsheet cell, such as this:
hello, True, Franklin, true, goodbye
The SPLIT() function extracts each word into its own cell.
Except that it ...
2
votes
2
answers
77
views
Python regular expression for multiple split criteria
I'm struggling to split some text in a piece of code that I'm writing. This software is scanning through about 3.5 million lines of text of which there are varying formats throughout.
I'm kind of ...
0
votes
1
answer
28
views
How do i use the split function in google sheet and have that function return an empty cell if there is nothing to split
I have a cell, lets say A1 that contains "Cat, Dog, Rat".
In cell B1 i enter the following formula =split(A1, ",",true, false)
The data then spreads across B1:D1 B1 Cat C1 Dog D1 ...
1
vote
1
answer
27
views
Split a dataframe dinamically
I have the following dataframe:
import pandas as pd
data = {'Name': ['Ankit', 'Amit', 'Aishwarya',
'Priyanka','Kovacs','Tompos'],
'Age': [21, 19, 20, 18, 20, 19],
'...
0
votes
0
answers
22
views
Where are your Feature Flags resolved in your Client Side Rendered Web Application or React Native App?
This is more like a design question. We have an in-house AB testing tool and we want to understand what is the best practice on where the feature flag resolution happens in the code.
By Resolve I mean ...
0
votes
0
answers
39
views
Split a dataframe based on the rows content [duplicate]
I have the following dataframe:
import pandas as pd
data = {'Name': ['Ankit', 'Amit', 'Aishwarya',
'Priyanka','Kovacs','Tompos'],
'Age': [21, 19, 20, 18, 20, 19],
'...