Data::Frame::Partial::Sugar - Partial class for data frame syntax sugar
version 0.0058
use Data::Frame::Examples qw(mtcars); # A key of string type does at() or set() my $col1 = $mtcars->{mpg}; # $mtcars->at('mpg'); $mtcars->{kpg} = $mtcars->{mpg} * 1.609; # $mtcars->set('kpg', ...); # A key of reference does slice() my $col2 = $mtcars->{ ['mpg'] }; # $mtcars->slice(['mpg']); my $subset = $mtcars->{ [qw(mpg cyl)] }; # $mtcars->slice([qw(mpg cyl]);
Data::Frame
Zakariyya Mughal <zmughal@cpan.org>
Stephan Loyd <sloyd@cpan.org>
This software is copyright (c) 2014, 2019-2021 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 Alt::Data::Frame::ButMore, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Alt::Data::Frame::ButMore
CPAN shell
perl -MCPAN -e shell install Alt::Data::Frame::ButMore
For more information on module installation, please visit the detailed CPAN module installation guide.