python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
How to parse from string to Int without .0 in Karate
I following the document of Karate Framework, to parse string to Int
https://github.com/karatelabs/karate#floats-and-integers
def foo = '10'
string json = { bar: '#(1 * foo)' }
match json == '{&quo...

Trung Le
Votes: 0
Answers: 0
How to create a column with number of elements in list after applying splitlines() to another column?
I have a dataframe:
col1
upload main/\then delete/\
for once
upload main/\then delete/\copy/\
I want to create new column with number of elements after applying splitlines() function to this column. ...
Ir8_mind
Votes: 0
Answers: 1
How to use separate_rows in tidverse when the sep is ;
I have a data frame whose one of the column has this data.
info1@domain.com; info2@domain.com; info3@domain.com
q= tibble("info1@domain.com; info2@domain.com; info3@domain.com")
sepa...
AJAY
Votes: 0
Answers: 2
Creating multiple rows from a complex string in R
Example of string in question called gene_snps:
"ultra_rare_variant_chr9:23143143_A/C_chr9:5322432_G/T_chr9:9840984342_T/C;chr9:5324234:G/T;chr9:324424_T/A"
Desired outcome:
markerID
chr9:...
tacrolimus
Votes: 0
Answers: 3