little module that helps to create tables for a specified schema with random content
Project description
RandomTables
little module that helps to create tables for a specified schema with random content
How to use
To create a random table you can specify a schema upfront and then call the class
from randomtables import DataSetGenerator
# define schema
schema = [
{"type": float},
{"type": int},
{"type": str, "split": False},
{"type": str, "split": True, "names": True}
]
# initialize the schema
dfg = DataSetGenerator()
# generate a pandas dataframe
data = dfg.generate(
schema = schema,
)
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 Distribution
test_random1-0.0.1.tar.gz
(5.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file test_random1-0.0.1.tar.gz.
File metadata
- Download URL: test_random1-0.0.1.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ea23127f0844d61fe262a18a6041896147e38dede7649017dd4ff67f1c3cce8d
|
|
| MD5 |
ed05e09bfb9248d5780139c5d82a1e96
|
|
| BLAKE2b-256 |
1a7ac2fea7dc33767e6dd7865c3f8170d24e7e2c35f96e7ec7cce3db4adf40ad
|
File details
Details for the file test_random1-0.0.1-py3-none-any.whl.
File metadata
- Download URL: test_random1-0.0.1-py3-none-any.whl
- Upload date:
- Size: 10.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f937c9cc00ef932467944f29213fc45315ba65e4dc0ce2647b5be73c1d844bdc
|
|
| MD5 |
f3624a2f8f8e0e003e3c1f45cc3fdb64
|
|
| BLAKE2b-256 |
483868436c5be4e6f59bf6cb06df57bb154b9a85cb1025d51566e4f2445e8325
|