dataframe-hasktorch: Converts between dataframes and hasktorch tensors

[ data, library, mit ] [ Propose Tags ] [ Report a vulnerability ]

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.

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.2.0.0
Change log CHANGELOG.md
Dependencies base (>=4.11 && <5), dataframe-core (>=1.0 && <1.1), dataframe-operations (>=1.0 && <1.1), ghc-typelits-natnormalise (>=0.7.7 && <0.9 || ==0.9.3), hasktorch (>=0.2.1.6 && <0.3), vector (>=0.13 && <0.14) [details]
License MIT
Author Michael Chavinda
Maintainer mschavinda@gmail.com
Uploaded by mchav at 2026-05-19T06:28:26Z
Category Data
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 65 total (6 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2026-05-19 [all 1 reports]