python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Matching with multi-level multiple membership data
I am designing a within multi-level study in which my data has both nested and multiple-membership structure. The subjects are multimembers of V1 and also are nested in V2.The subjects are all from on...
user1175940
Votes: 0
Answers: 1
Create a column value based on a matching regular expression
I have the following character string in a column called "Sentences" for a df:
I like an apple
I would like to create a second column, called Type, whose values are determined by matching st...
Cameron
Votes: 0
Answers: 1
R regex match beginning and middle of a string
I have a vector of strings:
A <- c("Hello world", "Green 44", "Hot Beer", "Bip 6t")
I want to add an asterisk (*) at the beginning and at the end of every f...
Stef
Votes: 0
Answers: 2
Ordering that maximizes pair-wise matches between two numpy arrays
Let's say we have two one-dimensional numpy arrays v1 and v2. The arrays are of equal length. The dtype of the arrays is '<U1' in this case. The two arrays may or may not have common items. In each...
user999605
Votes: 0
Answers: 1