df2onehot

Convert a unstructured array into a stuctured dataframe.

https://github.com/erdogant/df2onehot

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

onehot-encoding preprocessing python structuring
Last synced: 4 months ago · JSON representation ·

Repository

Convert a unstructured array into a stuctured dataframe.

Basic Info
Statistics
  • Stars: 3
  • Watchers: 2
  • Forks: 1
  • Open Issues: 0
  • Releases: 27
Topics
onehot-encoding preprocessing python structuring
Created almost 6 years ago · Last pushed 8 months ago
Metadata Files
Readme Funding License Citation

README.md

df2onehot

Python PyPI Version License Downloads Downloads DOI Sphinx <!---BuyMeCoffee--> <!---Coffee-->

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) ```


Maintainers

  • Erdogan Taskesen, github: erdogant
  • Contributions are welcome.
  • If you wish to buy me a Coffee for this work, it is very appreciated :)

Owner

  • Name: Erdogan
  • Login: erdogant
  • Kind: user
  • Location: Den Haag

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

All Time
  • Total Commits: 95
  • Total Committers: 2
  • Avg Commits per committer: 47.5
  • Development Distribution Score (DDS): 0.126
Past Year
  • Commits: 12
  • Committers: 1
  • Avg Commits per committer: 12.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email 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.

  • Versions: 26
  • Dependent Packages: 3
  • Dependent Repositories: 5
  • Downloads: 8,443 Last month
Rankings
Dependent packages count: 2.3%
Downloads: 3.6%
Dependent repos count: 6.6%
Average: 12.0%
Forks count: 22.6%
Stargazers count: 25.0%
Maintainers (1)
Last synced: 4 months ago

Dependencies

docs/source/requirements.txt pypi
  • pipinstallsphinx_rtd_theme *
requirements-dev.txt pypi
  • sphinx_rtd_theme * development
requirements.txt pypi
  • numpy *
  • pandas *
  • sklearn *
  • tqdm *
  • wget *
.github/workflows/codeql-analysis.yml actions
  • actions/checkout v2 composite
  • github/codeql-action/analyze v1 composite
  • github/codeql-action/autobuild v1 composite
  • github/codeql-action/init v1 composite
.github/workflows/pytest.yml actions
  • actions/checkout v2 composite
  • conda-incubator/setup-miniconda v2 composite
pyproject.toml pypi
  • datazets *
  • numpy *
  • packaging *
  • pandas *
  • scikit-learn *
  • tqdm *