Skip to main content

A library for generating dummy data in pandas DataFrames.

Project description

Gendummy

Gendummy is a Python library for generating dummy data in the form of pandas DataFrames or xlsx spreadsheets. It provides functionality to create both automatic and manually specified data tables.

Features

  • Generate DataFrames with random data, where dtyps are defined automatically (col[0] is always str).
  • Generate DataFrames with random data, where dtyps are defined manually.

Installation

To use the Gendummy library, ensure you have Python and pip installed, then install the required package:

    pip install gendummy

Import

    import gendummy as gd

Usage

    df = gd.gendf_auto(cols=3, rows=3)
    df = gd.gendf_manual(cols=3, rows=3, dtypes=[str, float, str])
    gd.genxls_auto(cols=3, rows=3)
    gd.genxls_manual(cols=3, rows=3, dtypes=[str, float, str])

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gendummy-0.1.1.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gendummy-0.1.1-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file gendummy-0.1.1.tar.gz.

File metadata

  • Download URL: gendummy-0.1.1.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.2

File hashes

Hashes for gendummy-0.1.1.tar.gz
Algorithm Hash digest
SHA256 21f97a947ab1748cf1dfd28f447949d276502ae5c2c426e50bbdac30039225b7
MD5 6cefb39b5532769b3716bbf626f2a662
BLAKE2b-256 5ce2f609719b4aecad71237f1ae44f1f9e6f54a86ffae7c1cf35a3f4828aae50

See more details on using hashes here.

File details

Details for the file gendummy-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: gendummy-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 2.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.2

File hashes

Hashes for gendummy-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f5e79abcd493c0aefd187d4f00f6458f2806913ea53552ab401af82bb892bdc7
MD5 b81694a2064a44c6938f41a65788bce0
BLAKE2b-256 04ea4759679ce019dfb0780fb9dd7fef0c8766edb037b491ddb6030dc75a8aad

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page