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)
Split by coma the content of python list embedded in list
I need help in splitting by coma a content of a list that is inside a list, basically I have such data
[['Department of Computer Languages and Computing Sciences, University of Málaga, Málaga, Spain']...
Axton
Votes: 1
Answers: 1
access a nested list element from a vector of names specifying the path
Hullo,
If I've got a function
foo <- function(list, name)
where I would want
foo(list, c("a", "b", "c"))
to return
list[[a]][[b]][[c]]
and also fail gracefully if l...
mitmonghi
Votes: 0
Answers: 1
Remove values from one list based on the IDs removed from another
I have a data frame that I have split into a list based on ID (l1). I also have another list l2 that is connected to l1 based on the ID names. One of the list elements has a NA value, and I have remov...
John Huang
Votes: 0
Answers: 1
sort items of a python list, based on specific string inside item
I have the following list:
['2022-04-07 16:42:26,469 20.1.Starting all probes', '2022-04-07 16:42:26,469 20.1.: Pinging 192.168.255.68 started', '2022-04-07 16:42:26,472 20.2.Username, password not pr...
JON
Votes: 0
Answers: 2