https://github.com/dobraczka/strawman
🧑🌾 Library for simple dummy objects
https://github.com/dobraczka/strawman
pandas prototyping python testing-tools
Last synced: 6 months ago
JSON representation
🧑🌾 Library for simple dummy objects
- Host: GitHub
- URL: https://github.com/dobraczka/strawman
- Owner: dobraczka
- License: mit
- Created: 2022-06-11T11:07:54.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-30T20:21:48.000Z (about 2 years ago)
- Last Synced: 2025-04-15T12:08:41.087Z (6 months ago)
- Topics: pandas, prototyping, python, testing-tools
- Language: Python
- Homepage: https://strawman.readthedocs.io
- Size: 226 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
![]()
strawman
Usage
=====Create a dummy DataFrame:
```python
>>> from strawman import dummy_df
>>> dummy_df((5,3))
0 1 2
0 Ass wEB jEx
1 xxD TtW Xzs
2 ITh mpj tgy
3 rgN ZyW kzR
4 FPO XiY ARn
```Or create a triples DataFrame:
```python
>>> from strawman import dummy_triples
>>> dummy_triples(5)
head relation tail
0 e2 rel0 e1
1 e1 rel0 e0
2 e1 rel0 e2
3 e0 rel0 e2
4 e1 rel1 e0
```Installation
============Via pip:
```bash
pip install strawman
```