Read SAS files into a Python Dask DataFrame.
Project description
Dask SAS Reader
Read SAS files into a Python Dask DataFrame.
Usage
Install from PyPI
pip install dask_sas_reader
Import and use module.
import dask_sas_reader
import dask
import dask.dataframe as dd
from dask.delayed import delayed
data_dir = Path('../data')
file_path = data_dir / 'bond.sas7bdat'
dd_df = sas.dask_sas_reader(data_dir, blocksize=800000)
dd_df.head()
Test
Test simply using:
pytest --collect-only
pytest
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for dask_sas_reader-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99ebb7203ae4d6ac525a70e60c2a0d3b3f64d9d7c05bd9cb41f0a1d3a9cfd57a |
|
MD5 | 955b51f9ba6d62a9a7ced9016227563c |
|
BLAKE2b-256 | 105cfecb18a61dec642ae988867e79482fa9c5224306004c5e56ca69d21cf435 |