|
NAMEData::Frame::IO::CSV - Partial class for data frame's conversion from/to CSV VERSIONversion 0.006004 METHODSfrom_csv from_csv($file, :$header=true, :$sep=',', :$quote='"',
:$na=[qw(NA BAD)], :$col_names=undef, :$row_names=undef,
Map[Str, DataType] :$dtype={},
:$strings_as_factors=false)
Create a data frame object from a CSV file. For example, my $df = Data::Frame->from_csv("foo.csv");
Some of the parameters are explained below,
to_csv to_csv($file, :$sep=',', :$quote='"', :$na='NA',
:$col_names=true, :$row_names=true)
Write the data frame to a csv file. AUTHORS
COPYRIGHT AND LICENSEThis 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.
|