datasets with the same summary statistics that look like the alphabet
Project description
The databet
This repo contains 27 datasets: 26 of these resemble the letters of the alphabet, the 27th is a star:
For each of the datasets (to 2 decimal places):
- The mean of the x-values is 0.50
- The mean of the y-values is 0.52
- The standard deviation of the x-values is 0.17
- The standard deviation of the y-values is 0.18
- The correlation coefficient is 0.16
You can read more about these datasets at mscroggs.co.uk/blog/101.
Databet Python package
Installing with pip
If you want to experiment with these datasets using Python, you can install the databet package by running:
pip install databet
Alternatively, you can install databet directly from this repo by running:
pip install git+https://github.com/mscroggs/databet
Using the databet package
Once you've installed the databet Python package,
you can load a letter or create a plot of a letter using the load_letter and plot_letter
functions:
import databet
a = databet.load_letter("A")
databet.plot_letter("B", "b.png")
You can also plot words using the plot_word function:
import databet
databet.plot_word("DATABET", "databet.png")
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
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 databet-2023.1.2.tar.gz.
File metadata
- Download URL: databet-2023.1.2.tar.gz
- Upload date:
- Size: 57.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1114e0eab6f0668185a5f8aacd42e00f7c833e7ace6d31b541d958134475ce53
|
|
| MD5 |
a931bce2d04c5ab736d396014cb9e87e
|
|
| BLAKE2b-256 |
627a6041ebda97a2dfd0efcaf85f834f8fd1a7ba9788650e036aa404809a9a93
|
File details
Details for the file databet-2023.1.2-py3-none-any.whl.
File metadata
- Download URL: databet-2023.1.2-py3-none-any.whl
- Upload date:
- Size: 55.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f79654a8eeb205ffd07f8fdbeb5edd14b92371a5cef4915e104d757c8af4708e
|
|
| MD5 |
d88e934a8bc37ad75ff98a4284ebadc5
|
|
| BLAKE2b-256 |
b6ab06228eda514cdd70d1c6fbbd3a47e55655dae8ad1af98e3832aa49b7f0dd
|