Displaying 4 results from an estimated 4 matches for "curvo".
Did you mean:
curve
2017 Aug 27
6
regex - optional part isn't considered in replacement with gsub
Hello, I need some help with regex.
I have this to sentences. I need to extract both "49MU6300" and "LE32S5970"
and put them in a new colum "SKU".
A) SMART TV UHD 49'' CURVO 49MU6300
B) SMART TV HD 32'' LE32S5970
DataFrame for testing:
ecommerce <- data.frame(a = c(1,2), producto = c("SMART TV UHD 49'' CURVO
49MU6300",
"SMART TV HD 32'' LE32S5970"))
I'm using gsub like this:
1.- This w...
2013 Mar 14
0
reshape
...$ day????? : int? 1 2 3 4 5 6 7 8 9 10 ...
# $ discharge: num? 8.06 7.65 7.3 7.3 6.95 6.95 6.6 6.25 5.9 5.61 ...
res1<-lapply(split(dat2,dat2$st),function(x) dcast(x,day~year,mean,value.var="discharge"))
?length(res1)
#[1] 124
?which(lapply(res1,nrow)>366) #this is what I mentioned
#CURVO GHIST READO TERCA UZZCO
#?? 34??? 52??? 82?? 115?? 118
nrow(res1$CURVO)
#[1] 730
?nrow(res1$CURVO)
#[1] 730
?tail(res1$CURVO)
#??? day 2005 2006 2007 2008????? 2010
#725 725? NaN? NaN? NaN? NaN 1.2552028
#726 726? NaN? NaN? NaN? NaN 1.1714796
#727 727? NaN? NaN? NaN? NaN 0.8065988
#728 728? NaN?...
2017 Aug 28
0
regex - optional part isn't considered in replacement with gsub
...lp with regex.
> >>>>
> >>>> I have this to sentences. I need to extract both "49MU6300" and
> "LE32S5970"
> >>>> and put them in a new colum "SKU".
> >>>>
> >>>> A) SMART TV UHD 49'' CURVO 49MU6300
> >>>> B) SMART TV HD 32'' LE32S5970
> >>>>
> >>>> DataFrame for testing:
> >>>>
> >>>> ecommerce <- data.frame(a = c(1,2), producto = c("SMART TV UHD 49''
> CURVO
> >>>> 49...
2017 Aug 27
0
regex - optional part isn't considered in replacement with gsub
....com> wrote:
>>> Hello, I need some help with regex.
>>>
>>> I have this to sentences. I need to extract both "49MU6300" and "LE32S5970"
>>> and put them in a new colum "SKU".
>>>
>>> A) SMART TV UHD 49'' CURVO 49MU6300
>>> B) SMART TV HD 32'' LE32S5970
>>>
>>> DataFrame for testing:
>>>
>>> ecommerce <- data.frame(a = c(1,2), producto = c("SMART TV UHD 49'' CURVO
>>> 49MU6300",
>>> &qu...