Skip to main content

A package to generate random pandas DataFrame objects and other random functionalities for machine learning benchmarking.

Project description

Random Pandas

A Python package for generating random pandas DataFrame objects and other random functionalities, useful for machine learning benchmarking and testing.

Features

  • Generate DataFrames with random numbers of rows and columns.
  • Columns can be of various data types (integer, float, boolean, string, datetime).
  • Numeric columns can follow different random distributions (uniform, normal) with underlying patterns.
  • Introduce controlled randomness suitable for benchmarking machine learning algorithms.

Installation

pip install random-pandas

Usage

from random_pandas import generate_random_dataframe

# Generate a random DataFrame
df = generate_random_dataframe()
print(df.head())

# Generate a random DataFrame with specific number of rows
df_rows = generate_random_dataframe(n_rows=100)
print(df_rows.info())

# Generate a random DataFrame with specific number of columns
df_cols = generate_random_dataframe(n_cols=5)
print(df_cols.info())

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

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

random_pandas-0.0.3.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

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

random_pandas-0.0.3-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file random_pandas-0.0.3.tar.gz.

File metadata

  • Download URL: random_pandas-0.0.3.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.5

File hashes

Hashes for random_pandas-0.0.3.tar.gz
Algorithm Hash digest
SHA256 cbc9775fe624268ce293953fb285b7f716d3240900db16d0a95a611a9221261c
MD5 bcdd616f7330b86c9ea5fe763c660d60
BLAKE2b-256 667c1909f4eb94b715f96d3780535efc8bbae3c7e2b4ffd9c49911be5ba150db

See more details on using hashes here.

File details

Details for the file random_pandas-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: random_pandas-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.5

File hashes

Hashes for random_pandas-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a84d4b83ef39f5b869fb1ecdedadcc3a1377031e6e8576b97e2a630585d16b15
MD5 e57eccb187233c9bf58e310d2809b112
BLAKE2b-256 86745abb27ac30edf32b9eb63b84ec74fbcd53a9a9dea2e0b266a418f566c6e1

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