df2onehot
Convert a unstructured array into a stuctured dataframe.
Science Score: 54.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
✓Academic publication links
Links to: zenodo.org -
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (10.0%) to scientific vocabulary
Keywords
Repository
Convert a unstructured array into a stuctured dataframe.
Basic Info
- Host: GitHub
- Owner: erdogant
- License: other
- Language: Python
- Default Branch: master
- Homepage: https://erdogant.github.io/df2onehot
- Size: 6.67 MB
Statistics
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
- Releases: 27
Topics
Metadata Files
README.md
df2onehot
df2onehot is a Python package to convert unstructured DataFrames into structured dataframes, such as one-hot dense arrays.
⭐️ Star this repo if you like it ⭐️
Install df2onehot from PyPI
bash
pip install df2onehot
Import df2onehot package
python
from df2onehot import df2onehot
Documentation pages
On the documentation pages you can find detailed information about the working of the df2onehot with many examples.
Examples
python
results = df2onehot(df)
```python
Force features (int or float) to be numeric if unique non-zero values are above percentage.
out = df2onehot(df, percminnum=0.8) ```
```python
Remove categorical features for which less then 2 values exists.
out = df2onehot(df, y_min=2) ```
```python
Combine two rules above.
out = df2onehot(df, ymin=2, percmin_num=0.8) ```
- Example: Process Mixed dataset #
- Example: Extracting nested columns #
- Example: Setting custom dtypes #
Maintainers
Owner
- Name: Erdogan
- Login: erdogant
- Kind: user
- Location: Den Haag
- Website: https://erdogant.github.io/
- Repositories: 51
- Profile: https://github.com/erdogant
Machine Learning | Statistics | Bayesian | D3js | Visualizations
Citation (CITATION.cff)
# YAML 1.2
---
authors:
-
family-names: Taskesen
given-names: Erdogan
orcid: "https://orcid.org/0000-0002-3430-9618"
cff-version: "1.1.0"
date-released: 2020-10-07
keywords:
- "python"
- "unstructured-data"
- "data conversion"
- "data filtering"
license: "MIT"
message: "If you use this software, please cite it using these metadata."
repository-code: "https://erdogant.github.io/df2onehot"
title: "Python package to convert a unstructured array into a stuctured dataframe."
version: "0.2.17"
...
GitHub Events
Total
- Release event: 1
- Push event: 5
- Create event: 1
Last Year
- Release event: 1
- Push event: 5
- Create event: 1
Committers
Last synced: almost 2 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| erdogant | e****t@g****m | 83 |
| Erdogan Taskesen | 3****t | 12 |
Issues and Pull Requests
Last synced: 5 months ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- pypi 8,443 last-month
- Total dependent packages: 3
- Total dependent repositories: 5
- Total versions: 26
- Total maintainers: 1
pypi.org: df2onehot
Python package df2onehot is to convert a pandas dataframe into a stuctured dataframe.
- Homepage: https://erdogant.github.io/df2onehot
- Documentation: https://df2onehot.readthedocs.io/
- License: MIT License
-
Latest release: 1.0.8
published 11 months ago
Rankings
Maintainers (1)
Dependencies
- pipinstallsphinx_rtd_theme *
- sphinx_rtd_theme * development
- numpy *
- pandas *
- sklearn *
- tqdm *
- wget *
- actions/checkout v2 composite
- github/codeql-action/analyze v1 composite
- github/codeql-action/autobuild v1 composite
- github/codeql-action/init v1 composite
- actions/checkout v2 composite
- conda-incubator/setup-miniconda v2 composite
- datazets *
- numpy *
- packaging *
- pandas *
- scikit-learn *
- tqdm *