mcmder
Yet Another Wrapper of Nysol M-Command in Python.
Description
High-speed processing (CSV) of large-scale structured data tables.
To know more about Nysol and M-Command, see the official documents.
What is Nysol and M-Command?
How fast Nysol is?
Features
- Create M-Command easily in python with method chaining.
- Execute M-Command without putting large data on memory.(csv to csv)
- Optionally use pandas DataFrame as input and output.
Requirement
Usage
From CSV File
sample.csv
a,b,c
x,1,4
y,2,9
z,3,3
>>> from mcmder import Mcmder
>>> m = Mcmder('sample.csv')
>>> mc = m.mcut(['a','c'])
>>> mc.save('cut.csv')
cut.csv
a,c
x,4
y,9
z,3
>>> mc.dataframe
a c
0 x 4
1 y 9
2 z 3
From pandas DataFrame
>>> from mcmder import Mcmder
>>> import pandas as pd
>>> import numpy as np
>>> df = pd.DataFrame(np.random.randn(6,4), columns=list('ABCD'))
>>> m = Mcmder(df)
>>> mc = m.mcut(['A','C','D']).msel('${A}>0')
>>> mc.dataframe
A C D
0 0.251857 0.080099 -1.211923
1 0.100167 -1.824585 0.051611
2 0.890079 1.440997 -0.298709
License
Author
Metadata
Release files for mcmder 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mcmder-0.2.0.tar.gz | 6.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mcmder-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.6 kB
Release files / mcmder-0.2.0.tar.gz
| Download URL | mcmder-0.2.0.tar.gz |
|---|---|
| Size | 6.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a5cd20bcce990360e78068003f7e4efb2d89b21db27f047e3738995294860701
|
|
BLAKE2b-256 checksum How to use checksums |
aab3ec108592895bcc1004ce05bec0f492fe1572b2e6b77eb802fb4abe17ef45
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1
|
Release files / mcmder-0.2.0-py3-none-any.whl
| Download URL | mcmder-0.2.0-py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
98d9150ec2efac4b581b9fdad87887bbc0f6cc7f84c8db2eed2a45667ec2ed22
|
|
BLAKE2b-256 checksum How to use checksums |
c38f0d22a37b8ac08915ad2be3fbda6c9e3d1158729925eb180f4c194d8743e4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1
|