PandaTorch
A flexible simple library that makes it easier to use the extrememly popular pandas package with the other extremely popular framework PyTorch.
Functions
- Converts a Pandas DataFrame into a usable PyTorch dataset.
- 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)
| 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
|