search for: tarrad

Displaying 6 results from an estimated 6 matches for "tarrad".

Did you mean: tarred
2016 Apr 10
5
what is the faster way to search for a pattern in a few million entries data frame ?
...of 1 work up to 5 words) and I am searching for the frequency in my DF of the strings starting with a sequence of few words. I guess these days it is standard to use DF with millions of entries so I was wondering how people are doing that in the faster way. Thanks Cheers Fabien -- Dr Fabien Tarrade Quantitative Analyst/Developer - Data Scientist Senior data analyst specialised in the modelling, processing and statistical treatment of data. PhD in Physics, 10 years of experience as researcher at the forefront of international scientific research. Fascinated by finance and data modelling....
2016 Apr 10
0
what is the faster way to search for a pattern in a few million entries data frame ?
...about one millisecond. df<-data.frame(freq=runif(1000), strings=apply(matrix(sample(LETTERS,10000,TRUE),ncol=10), 1,paste,collapse="")) match.ind<-grep("DF",df$strings) match.ind [1] 2 11 91 133 169 444 547 605 734 943 Jim On Mon, Apr 11, 2016 at 5:27 AM, Fabien Tarrade <fabien.tarrade at gmail.com> wrote: > Hi Duncan, >> >> Didn't you post the same question yesterday? Perhaps nobody answered >> because your question is unanswerable. > > sorry, I got a email that my message was waiting for approval and when I > look at the...
2016 Apr 10
2
what is the faster way to search for a pattern in a few million entries data frame ?
...ng my Mac). I had to sub-divide the dataset to have it working correctly but I didn't manage to fully understand the issue. I am sure their is some other smart way to do that. Any good article/blogs or suggestion that can give me some guidance ? Thanks a lot Cheers Fabien -- Dr Fabien Tarrade Quantitative Analyst/Developer - Data Scientist Senior data analyst specialised in the modelling, processing and statistical treatment of data. PhD in Physics, 10 years of experience as researcher at the forefront of international scientific research. Fascinated by finance and data modelling....
2016 Apr 10
0
what is the faster way to search for a pattern in a few million entries data frame ?
On 10/04/2016 2:03 PM, Fabien Tarrade wrote: > Hi there, > > I have a data frame DF with 40 millions strings and their frequency. I > am searching for strings with a given pattern and I am trying to speed > up this part of my code. I try many options but so far I am not > satisfied. I tried: > - grepl and subset a...
2016 Apr 09
0
fast way to search for a pattern in a few million entries data frame
...ing my Mac). I had to sub-divide the dataset to have it working correctly but I didn't manage to fully understand the issue. I am sure their is some other smart way to do that. Any good article/blogs or suggestion that can give me some guidance ? Thanks a lot Cheers Fabien -- Dr Fabien Tarrade Quantitative Analyst/Developer - Data Scientist Senior data analyst specialised in the modelling, processing and statistical treatment of data. PhD in Physics, 10 years of experience as researcher at the forefront of international scientific research. Fascinated by finance and data modelling....
2016 Apr 10
0
what is the faster way to search for a pattern in a few million entries data frame ?
On 04/10/2016 03:27 PM, Fabien Tarrade wrote: > Hi Duncan, >> Didn't you post the same question yesterday? Perhaps nobody answered >> because your question is unanswerable. > sorry, I got a email that my message was waiting for approval and when I > look at the forum I didn't see my message and this is why...