Skip to main content

PandaTorch

A flexible simple library that makes it easier to use the extrememly popular pandas package with the other extremely popular framework PyTorch.

Functions

  1. Converts a Pandas DataFrame into a usable PyTorch dataset.
  2. Allows use of all usual Pandas functions

Usage

import pandas as pd
from pandatorch import data
df=pd.read_csv("path_to_dataset")
torch_df=data.DataFrame(X=df.drop("<Target Column>",axis=1),y=df["<Target Column>"])

Note: Check out the notebooks folder for a full end-to-end training example of a tabular dataset using PandaTorch

Release files for pandatorch 1.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pandatorch 1.0.5
File Size Uploaded
pandatorch-1.0.5.tar.gz 3.6 kB Details

Release files / pandatorch-1.0.5.tar.gz

Download URL pandatorch-1.0.5.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
feab75e71eb5a9ed83cfc37bc2ab21b9b15f9b8e7cff8783c3bef42b733944d3
BLAKE2b-256 checksum
How to use checksums
2573268cf98a9a5130614c55c1905798e4e78a7e6b4c76b512d2e6712580b56a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.19

Release history Release notifications | RSS feed

This release

1.0.5 This release

1 release file

1.0.4

1 release file

1.0.3

1 release file

1.0.2

1 release file

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page