PDL::Factor - PDL subclass for keeping categorical data
version 0.006002
use PDL::Factor (); # extract levels from input my $blood_types = PDL::Factor->new( [ qw(B A AB A B A B O AB O) ] ); # explicitly specify levels my $blood_types2 = PDL::Factor->new( [ qw(B A AB A B A B O AB O) ], levels => [ qw(A B AB O) ] );
levels => $array_ref
$c = $a->glue($dim, $b, ...);
Glue two or more PDLs together along an arbitrary dimension. For now it only supports 1D PDL::Factor piddles, and $dim has to be 0.
$dim
0
PDL
Zakariyya Mughal <zmughal@cpan.org>
Stephan Loyd <sloyd@cpan.org>
This software is copyright (c) 2014, 2019-2022 by Zakariyya Mughal, Stephan Loyd.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Data::Frame, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::Frame
CPAN shell
perl -MCPAN -e shell install Data::Frame
For more information on module installation, please visit the detailed CPAN module installation guide.