Displaying 20 results from an estimated 86 matches for "25,13".
Did you mean:
23,13
2024 Jul 19
4
Extract
Hi All,
I want to extract new variables from a string and add it to the dataframe.
Sample data is csv file.
dat<-read.csv(text="Year, Sex,string
2002,F,15 xc Ab
2003,F,14
2004,M,18 xb 25 35 21
2005,M,13 25
2006,M,14 ac 256 AV 35
2007,F,11",header=TRUE)
The string column has a maximum of five variables. Some rows have all
and others may not have all the five variables. If missing then fill
it with NA,
Desired result is shown below,
Year,Sex,string, S1, S2, S3 S4,S5
2002,F,...
2009 Dec 21
1
Clean up of nv40_context->state.hw and nv40_screen->state
...;screen->vp_exec_heap);
nouveau_resource_free(&screen->vp_data_heap);
nouveau_resource_free(&screen->query_heap);
Index: nv40_context.c
===================================================================
--- nv40_context.c (wersja 32083)
+++ nv40_context.c (kopia robocza)
@@ -25,7 +25,13 @@
nv40_destroy(struct pipe_context *pipe)
{
struct nv40_context *nv40 = nv40_context(pipe);
+ unsigned i;
+ for (i = 0; i < NV40_STATE_MAX; i++) {
+ if (nv40->state.hw[i])
+ so_ref(NULL, &nv40->state.hw[i]);
+ }
+
if (nv40->draw)
d...
2024 Jul 19
1
Extract
...2024 at 9:52?AM Val <valkremk at gmail.com> wrote:
>
> Hi All,
>
> I want to extract new variables from a string and add it to the dataframe.
> Sample data is csv file.
>
> dat<-read.csv(text="Year, Sex,string
> 2002,F,15 xc Ab
> 2003,F,14
> 2004,M,18 xb 25 35 21
> 2005,M,13 25
> 2006,M,14 ac 256 AV 35
> 2007,F,11",header=TRUE)
>
> The string column has a maximum of five variables. Some rows have all
> and others may not have all the five variables. If missing then fill
> it with NA,
> Desired result is shown below,
>...
2024 Jul 21
1
Extract
...2024 at 12:52?PM Val <valkremk at gmail.com> wrote:
>
> Hi All,
>
> I want to extract new variables from a string and add it to the dataframe.
> Sample data is csv file.
>
> dat<-read.csv(text="Year, Sex,string
> 2002,F,15 xc Ab
> 2003,F,14
> 2004,M,18 xb 25 35 21
> 2005,M,13 25
> 2006,M,14 ac 256 AV 35
> 2007,F,11",header=TRUE)
>
> The string column has a maximum of five variables. Some rows have all
> and others may not have all the five variables. If missing then fill
> it with NA,
> Desired result is shown below,
>...
2009 Dec 21
2
[PATCH 1/2] Unreference state/buffer objects on context/screen destruction
...NULL);
+
+ if (fp->so)
+ so_ref(NULL, &fp->so);
+
if (fp->insn_len)
FREE(fp->insn);
}
Index: nv40/nv40_context.c
===================================================================
--- nv40/nv40_context.c (wersja 32083)
+++ nv40/nv40_context.c (kopia robocza)
@@ -25,7 +25,13 @@
nv40_destroy(struct pipe_context *pipe)
{
struct nv40_context *nv40 = nv40_context(pipe);
+ unsigned i;
+ for (i = 0; i < NV40_STATE_MAX; i++) {
+ if (nv40->state.hw[i])
+ so_ref(NULL, &nv40->state.hw[i]);
+ }
+
if (nv40->draw)
d...
2024 Jul 21
1
Extract
...wrote:
> >
> > Hi All,
> >
> > I want to extract new variables from a string and add it to the dataframe.
> > Sample data is csv file.
> >
> > dat<-read.csv(text="Year, Sex,string
> > 2002,F,15 xc Ab
> > 2003,F,14
> > 2004,M,18 xb 25 35 21
> > 2005,M,13 25
> > 2006,M,14 ac 256 AV 35
> > 2007,F,11",header=TRUE)
> >
> > The string column has a maximum of five variables. Some rows have all
> > and others may not have all the five variables. If missing then fill
> > it with NA,
>...
2024 Jul 19
1
Extract
...wrote:
> >
> > Hi All,
> >
> > I want to extract new variables from a string and add it to the dataframe.
> > Sample data is csv file.
> >
> > dat<-read.csv(text="Year, Sex,string
> > 2002,F,15 xc Ab
> > 2003,F,14
> > 2004,M,18 xb 25 35 21
> > 2005,M,13 25
> > 2006,M,14 ac 256 AV 35
> > 2007,F,11",header=TRUE)
> >
> > The string column has a maximum of five variables. Some rows have all
> > and others may not have all the five variables. If missing then fill
> > it with NA,
>...
2024 Jul 19
1
Extract
...tly what you asked for, but maybe I was confused somewhere. This approach puts string data into variables in order. In this approach one mixes string and numeric data. The string is not duplicated.
library(tidyr)
dat <- read.csv(text="Year,Sex,string
2002,F,15 xc Ab
2003,F,14
2004,M,18 xb 25 35 21
2005,M,13 25
2006,M,14 ac 256 AV 35
2007,F,11", header=TRUE, stringsAsFactors=FALSE)
# split the 'string' column based on spaces
dat_separated <- dat |>
separate(string, into = paste0("S", 1:5), sep = " ",
fill = "right", extra =...
2024 Jul 21
1
Extract
...> >
> > > I want to extract new variables from a string and add it to the dataframe.
> > > Sample data is csv file.
> > >
> > > dat<-read.csv(text="Year, Sex,string
> > > 2002,F,15 xc Ab
> > > 2003,F,14
> > > 2004,M,18 xb 25 35 21
> > > 2005,M,13 25
> > > 2006,M,14 ac 256 AV 35
> > > 2007,F,11",header=TRUE)
> > >
> > > The string column has a maximum of five variables. Some rows have all
> > > and others may not have all the five variables. If missing then fi...
2024 Jul 19
1
Extract
...I was confused somewhere. This approach puts string data into variables in order. In this approach one mixes string and numeric data. The string is not duplicated.
>
> library(tidyr)
>
> dat <- read.csv(text="Year,Sex,string
> 2002,F,15 xc Ab
> 2003,F,14
> 2004,M,18 xb 25 35 21
> 2005,M,13 25
> 2006,M,14 ac 256 AV 35
> 2007,F,11", header=TRUE, stringsAsFactors=FALSE)
>
> # split the 'string' column based on spaces
> dat_separated <- dat |>
> separate(string, into = paste0("S", 1:5), sep = " ",
>...
2024 Jul 21
1
Extract
...; names() |> _[4:8] <- paste0("s", 1:5)
## and here's the result:
> dat
Year Sex string s1 s2 s3 s4 s5
1 2002 F 15 xc Ab 15 xc Ab <NA> <NA>
2 2003 F 14 14 <NA> <NA> <NA> <NA>
3 2004 M 18 xb 25 35 21 18 xb 25 35 21
4 2005 M 13 25 13 25 <NA> <NA> <NA>
5 2006 M 14 ac 256 AV 35 14 ac 256 AV 35
6 2007 F 11 11 <NA> <NA> <NA> <NA>
As I noted previously, all columns beyond Sex are character
Cheers,
Bert
O...
2024 Jul 21
1
Extract
...0("s", 1:5)
>
> ## and here's the result:
> > dat
> Year Sex string s1 s2 s3 s4 s5
> 1 2002 F 15 xc Ab 15 xc Ab <NA> <NA>
> 2 2003 F 14 14 <NA> <NA> <NA> <NA>
> 3 2004 M 18 xb 25 35 21 18 xb 25 35 21
> 4 2005 M 13 25 13 25 <NA> <NA> <NA>
> 5 2006 M 14 ac 256 AV 35 14 ac 256 AV 35
> 6 2007 F 11 11 <NA> <NA> <NA> <NA>
>
> As I noted previously, all columns beyond Sex are cha...
2007 Nov 20
1
[asterisk-dev] trunk working under windows!
.../svn.digium.com/view/asterisk/trunk/pbx/Makefile?view=diff&rev=89454&r1=89453&r2=89454
>> ==============================================================================
>> --- trunk/pbx/Makefile (original)
>> +++ trunk/pbx/Makefile Tue Nov 20 10:12:10 2007
>> @@ -25,6 +25,10 @@
>>
>> include $(ASTTOPDIR)/Makefile.moddir_rules
>>
>> +ifneq ($(findstring $(OSARCH), mingw32 cygwin ),)
>> + LIBS+= -lres_ael_share.so -lres_monitor.so
>> +endif
>> +
>> clean::
>> rm -f ael/*.o
>>
>>
>>...
2024 Jul 21
1
Extract
...nt to extract new variables from a string and add it to the dataframe.
> > > > Sample data is csv file.
> > > >
> > > > dat<-read.csv(text="Year, Sex,string
> > > > 2002,F,15 xc Ab
> > > > 2003,F,14
> > > > 2004,M,18 xb 25 35 21
> > > > 2005,M,13 25
> > > > 2006,M,14 ac 256 AV 35
> > > > 2007,F,11",header=TRUE)
> > > >
> > > > The string column has a maximum of five variables. Some rows have all
> > > > and others may not have all the five...
2024 Jul 22
3
Extract
...om a string and add it to the dataframe.
> > > > > Sample data is csv file.
> > > > >
> > > > > dat<-read.csv(text="Year, Sex,string
> > > > > 2002,F,15 xc Ab
> > > > > 2003,F,14
> > > > > 2004,M,18 xb 25 35 21
> > > > > 2005,M,13 25
> > > > > 2006,M,14 ac 256 AV 35
> > > > > 2007,F,11",header=TRUE)
> > > > >
> > > > > The string column has a maximum of five variables. Some rows have all
> > > > > and oth...
2016 Dec 07
0
[PATCH 4/4] vsock: cancel packets when failing to connect
...+ virtio_transport_get_ops()->cancel_pkt(vsk);
goto out_wait;
}
diff --git a/net/vmw_vsock/virtio_transport_common.c b/net/vmw_vsock/virtio_transport_common.c
index cc1eeb5..72c5dff 100644
--- a/net/vmw_vsock/virtio_transport_common.c
+++ b/net/vmw_vsock/virtio_transport_common.c
@@ -25,13 +25,6 @@
/* How long to wait for graceful shutdown of a connection */
#define VSOCK_CLOSE_TIMEOUT (8 * HZ)
-static const struct virtio_transport *virtio_transport_get_ops(void)
-{
- const struct vsock_transport *t = vsock_core_get_transport();
-
- return container_of(t, struct virtio_transpo...
2009 Jun 03
1
[PATCH server] ovirt server installer autobuild integration
....ks | 37 ++++++++++++++++++++++++
3 files changed, 123 insertions(+), 0 deletions(-)
create mode 100644 ovirt-installer-test-answers
create mode 100644 ovirt-server-test.ks
diff --git a/autobuild.sh b/autobuild.sh
index 2cc11d6..66a5167 100755
--- a/autobuild.sh
+++ b/autobuild.sh
@@ -25,10 +25,13 @@ set -v
test -f Makefile && make -k distclean || :
+############# build the server rpm
+
# put rails in development mode
cp conf/ovirt-rails.sysconf conf/ovirt-rails.sysconf.orig
echo "RAILS_ENV=development" >> conf/ovirt-rails.sysconf
+# build server &...
2016 Dec 07
0
[PATCH v2 4/4] vsock: cancel packets when failing to connect
...+ virtio_transport_get_ops()->cancel_pkt(vsk);
goto out_wait;
}
diff --git a/net/vmw_vsock/virtio_transport_common.c b/net/vmw_vsock/virtio_transport_common.c
index cc1eeb5..72c5dff 100644
--- a/net/vmw_vsock/virtio_transport_common.c
+++ b/net/vmw_vsock/virtio_transport_common.c
@@ -25,13 +25,6 @@
/* How long to wait for graceful shutdown of a connection */
#define VSOCK_CLOSE_TIMEOUT (8 * HZ)
-static const struct virtio_transport *virtio_transport_get_ops(void)
-{
- const struct vsock_transport *t = vsock_core_get_transport();
-
- return container_of(t, struct virtio_transpo...
2007 Nov 05
1
marker event listeners
...to make draggable markers (though you can''t
really use them until the above is addressed).
Index: lib/gm_plugin/overlay.rb
===================================================================
--- lib/gm_plugin/overlay.rb (revision 97)
+++ lib/gm_plugin/overlay.rb (working copy)
@@ -25,11 +25,13 @@
end
#Creates a marker: If an info_window or info_window_tabs is
present, the response to the click action from the user is setup here.
def create
- if @options.empty?
- creation = "new
GMarker(#{MappingObject.javascriptify_variable(@point)...
2015 Jun 12
0
[PATCH 2/3] get-kernel: add --unversioned-names
..._kernel.ml | 17 +++++++++++++----
get-kernel/virt-get-kernel.pod | 9 +++++++++
2 files changed, 22 insertions(+), 4 deletions(-)
diff --git a/get-kernel/get_kernel.ml b/get-kernel/get_kernel.ml
index 646a240..1523363 100644
--- a/get-kernel/get_kernel.ml
+++ b/get-kernel/get_kernel.ml
@@ -25,13 +25,14 @@ open Printf
(* Main program. *)
let main () =
- let add, output =
+ let add, output, unversioned =
let domain = ref None in
let file = ref None in
let libvirturi = ref "" in
let format = ref "" in
let output = ref "" in...