dummipy
Quickstart
$ pip install dummipy
Let it out of the box…
from sklearn.linear_model import LinearRegression from dummipy import cereal type(cereal) # CategoricalDataFrame cereal.head() reg = LinearRegression() reg.fit(cereal[['mfr', 'vitamins', 'fat']], cereal.calories)
Installation
You’ll need `pandas <http://pandas.pydata.org/>`__, but any old version will do the trick. There is no pandas version pegged in the setup.py file so installing dummipy won’t mess up your existing sci-py setup.
$ pip install dummipy
Use
Just use it like any old data frame. That’s really all there is to it.
import dummipy as dp
df = dp.CategoricalDataFrame({
"x": range(5),
"y": ["a", "b", "c", "a", "b"]
})
df = pd.read_csv("foo.csv")
df = dp.CategoricalDataFrame(df)
Metadata
Release files for dummipy 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dummipy-0.0.1.tar.gz | 5.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dummipy-0.0.1-py2.7.egg | Legacy Egg format | - | - | Details |
Total release size: 14.7 kB
Release files / dummipy-0.0.1.tar.gz
| Download URL | dummipy-0.0.1.tar.gz |
|---|---|
| Size | 5.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fdc932d454f28fc1dba01428acd67a6a7562cd02b37ef78a3fdf8b51d86bb982
|
|
BLAKE2b-256 checksum How to use checksums |
e1eff803fadb53a33bd1796e889ff9733728d1a71a1988f6e8ce81f4d08baa27
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / dummipy-0.0.1-py2.7.egg
| Download URL | dummipy-0.0.1-py2.7.egg |
|---|---|
| Size | 8.9 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
2485a9cc1a75170051ffd9fa53869a4e8607a881b71ba62a6cf70e2aacb4b562
|
|
BLAKE2b-256 checksum How to use checksums |
3fe8bdc53fa9933f9c5dfb1e396999724c539902e6bcfcfef299d6ccd9b813db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |