The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Changes for version 0.006001 - 2022-01-02

  • [BREAKING] Requires Perl >= 5.16, PDL >= 2.019
  • [DEPRECATION] Deprecating PDL::number_of_rows() in favor of PDL::length(). (Both PDL::number_of_rows() and PDL::length() are methods mixed into PDL.)
  • Fixed compatibility with recent versions of PDL.
  • Autoboxing/role-mixing (via Data::Frame::Autobox and Data::Frame::PDL) to have a similar OO-interface across structures having some similarities, like Perl native array vs PDL piddle, Perl native hash vs Data::Frame's columns.
  • Data::Frame improvements
    • Added new methods to Data::Frame, PDL-style methods: at(), dims()/shape(), copy(), drop_bad(), slice(), set(), which(), dot-assignment Serialization methods: from_csv(), to_csv() Other methods: append(), id(), isempty(), merge(), rename(), sample(), summary(), sort(), split(), transform(), uniq()
    • Improved row/column via Data::Frame::Indexer.
    • Experimental features: syntax sugar for getting columns, R-like tidy_eval().
  • Reworked PDL::SV Added new PDL-style methods : copy(), glue(), uniqind(), set(), sever(), isbad(), isgood(), setbadif(), setbadtoval(), comparisons, dot-assignment Fixed methods: uniq() Improved stringification to honor $PDL::toolongtoprint
  • Reworked PDL::Factor Added new PDL-style methods : copy(), glue(), isbad(), isgood(), setbadif(), setbadtoval().
  • Implemented a basic PDL::Logical, which was empty module, for logical columns.
  • New Data::Frame::Examples module that provides a few example datasets: airquality, diamonds, economics, economics_long, faithfuld, iris, mpg, mtcars, txhousing.
  • Various doc improvements.
  • For developers
    • New Test2::Tools::DataFrame module for testing Data::Frame.
    • Data::Frame::Setup and Data::Frame::Class as Import::Into packages.

Modules

data frame implementation
Autobox arrays and hashes for Data::Frame
For creating classes in Data::Frame
Example data sets
Partial class for data frame's conversion from/to CSV
Function interface for indexer
Data::Frame indexer by integer indices
Data::Frame indexer by string labels (column names)
Role for Data::Frame indexer
A mixin to add some methods to PDL
Partial class for data frame's eval method
Partial class for data frame syntax sugar
For creating roles in Data::Frame
Role for column compare result
Import stuffs into Data::Frame classes
Custom Type::Tiny types
Utility functions
PDL subclass for keeping categorical data
PDL subclass for keeping logical data
PDL subclass for keeping scalar data (like strings)
Tools for verifying Data::Frame data frames

Provides

in lib/Data/Frame/Autobox.pm
in lib/Data/Frame/Autobox.pm
in lib/Data/Frame/Partial/Sugar.pm