@hackage dataframe-hasktorch0.1.0.2

Converts between dataframes and hasktorch tensors

This package provides seamless conversion between dataframes and hasktorch tensors, bridging the gap between data manipulation and machine learning workflows.

Key features:

  • Convert dataframes to floating-point or integer tensors for ML training

  • Automatic handling of multi-column and single-column dataframes

  • Smart dimensional handling (1D tensors for single columns, 2D for multiple)

  • Type-safe conversions with comprehensive error handling

Typical workflow: load and transform data using dataframes, then convert to tensors for training neural networks with hasktorch.