https://github.com/anselmoo/pandas2tensorboard

Pandas DataFrames converted to TensorBoard Format

https://github.com/anselmoo/pandas2tensorboard

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.0%) to scientific vocabulary

Keywords

pandas tensorboard visualization

Keywords from Contributors

data-privacy huggingface huggingface-transformers flowchart dependency-manager reactions testing-framework unit-test climate medical-imaging
Last synced: 5 months ago · JSON representation

Repository

Pandas DataFrames converted to TensorBoard Format

Basic Info
  • Host: GitHub
  • Owner: Anselmoo
  • License: mit
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 1.4 MB
Statistics
  • Stars: 3
  • Watchers: 2
  • Forks: 0
  • Open Issues: 10
  • Releases: 1
Topics
pandas tensorboard visualization
Created about 4 years ago · Last pushed 6 months ago
Metadata Files
Readme Contributing License Code of conduct

README.md

CI - Python Package codecov PyPI

Pandas2TensorBoard

Pandas2TensorBoard is a library for transforming the pandas DataFrame into the data fomrat of TensorBoard. Pandas2TensorBoard relies on torch utilities for the data transformation.

_

Installation

  • Regular installation via pip:

shell pip install pandas2tensorboard

  • With modin backend for pandas

shell pip install pandas2tensorboard[modin]

shell pip install pandas2tensorboard[backend]

shell pip install pandas2tensorboard[all]

Usage

Currently the following types of export from pandas to tensorboard are supported:

  • pd.DataFramescalars
  • pd.DataFramescalars with timestamp
  • pd.DataFramescatter via hyperparameters

For initializing the pandas2tensorboard library, the current syntax of Torch's tensorboard.SummaryWriter is used.

Examples

  1. Exporting a regular pd.DataFrame to tensorboard by removing columns with str:

```python import seaborn as sns

from pandas2tensorboard import pandas2tensorboard as p2t

pt = p2t.Pandas2TensorBoard() pt.regulardf( sns.loaddataset("planets"), label="planets", removenan=True, removestr=True, ) pt.close() ```

  1. Exporting a pd.DataFrame with time column to tensorboard:

```python import seaborn as sns

from pandas2tensorboard import pandas2tensorboard as p2t

pt = p2t.Pandas2TensorBoard() pt.timeseriesdf( sns.loaddataset("attention"), time="score", label="attention", removenan=True, removestr=True, time_convert=True, ) pt.close() ```

The time column with name score is transformed into float with timestamp.

  1. Exporting a pd.DataFrame with hyperparameters to tensorboard:

```python import seaborn as sns

from pandas2tensorboard import pandas2tensorboard as p2t

pt = p2t.Pandas2TensorBoard() pt.scatterdf( sns.loaddataset("anagrams"), xaxis="subidr", group="anagrams", removenan=True, remove_str=True, ) pt.close() ```

The x-axis corresponds to hparam_dict; the dataframe without column x_axis="subidr" corresponds to metric_dict.

Contributing

Please feel free to open an issue or create a pull request; see also contributing.

License

Check MIT

Owner

  • Name: Anselm Hahn
  • Login: Anselmoo
  • Kind: user
  • Location: Switzerland

GitHub Events

Total
  • Push event: 24
Last Year
  • Push event: 24

Committers

Last synced: almost 3 years ago

All Time
  • Total Commits: 55
  • Total Committers: 4
  • Avg Commits per committer: 13.75
  • Development Distribution Score (DDS): 0.291
Top Committers
Name Email Commits
dependabot[bot] 4****]@u****m 39
pre-commit-ci[bot] 6****]@u****m 10
Anselm Hahn A****n@g****m 5
ImgBotApp I****p@g****m 1

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 0
  • Total pull requests: 110
  • Average time to close issues: N/A
  • Average time to close pull requests: 22 days
  • Total issue authors: 0
  • Total pull request authors: 4
  • Average comments per issue: 0
  • Average comments per pull request: 0.95
  • Merged pull requests: 54
  • Bot issues: 0
  • Bot pull requests: 106
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
  • dependabot[bot] (91)
  • pre-commit-ci[bot] (11)
  • Anselmoo (4)
  • imgbot[bot] (1)
Top Labels
Issue Labels
Pull Request Labels
dependencies (91) python (83) github_actions (8) bug (1) documentation (1) Extra Small (1) size/S (1)

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 17 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 1
  • Total versions: 2
  • Total maintainers: 1
pypi.org: pandas2tensorboard

Pandas DataFrames converted to TensorBoard Format

  • Versions: 2
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 17 Last month
Rankings
Dependent packages count: 10.1%
Dependent repos count: 21.5%
Stargazers count: 25.1%
Average: 26.6%
Forks count: 29.8%
Downloads: 46.3%
Maintainers (1)
Last synced: 6 months ago

Dependencies

poetry.lock pypi
  • atomicwrites 1.4.0 develop
  • attrs 21.4.0 develop
  • black 22.3.0 develop
  • blacken-docs 1.12.1 develop
  • click 8.0.3 develop
  • colorama 0.4.4 develop
  • commonmark 0.9.1 develop
  • coverage 6.4.1 develop
  • cycler 0.11.0 develop
  • execnet 1.9.0 develop
  • flake8 4.0.1 develop
  • fonttools 4.29.1 develop
  • iniconfig 1.1.1 develop
  • isort 5.10.1 develop
  • kiwisolver 1.3.2 develop
  • matplotlib 3.5.1 develop
  • mccabe 0.6.1 develop
  • mypy 0.961 develop
  • mypy-extensions 0.4.3 develop
  • pathspec 0.9.0 develop
  • pillow 9.0.1 develop
  • platformdirs 2.4.1 develop
  • pluggy 1.0.0 develop
  • pprintpp 0.4.0 develop
  • py 1.11.0 develop
  • pycodestyle 2.8.0 develop
  • pydocstyle 6.1.1 develop
  • pyflakes 2.4.0 develop
  • pygments 2.11.2 develop
  • pytest 7.1.2 develop
  • pytest-clarity 1.0.1 develop
  • pytest-cov 3.0.0 develop
  • pytest-forked 1.4.0 develop
  • pytest-xdist 2.5.0 develop
  • rich 11.1.0 develop
  • scipy 1.8.0 develop
  • seaborn 0.11.2 develop
  • setuptools-scm 6.4.2 develop
  • snowballstemmer 2.2.0 develop
  • tomli 2.0.0 develop
  • absl-py 1.0.0
  • appdirs 1.4.4
  • cachetools 5.0.0
  • certifi 2021.10.8
  • cffi 1.15.0
  • charset-normalizer 2.0.11
  • cloudpickle 2.0.0
  • dask 2022.6.0
  • entrypoints 0.4
  • fsspec 2022.1.0
  • google-auth 2.6.0
  • google-auth-oauthlib 0.4.6
  • greenlet 1.1.2
  • grpcio 1.43.0
  • idna 3.3
  • importlib-metadata 4.10.1
  • intake 0.6.5
  • intake-omnisci 0.1.0
  • jinja2 3.0.3
  • llvmlite 0.36.0
  • locket 0.2.1
  • markdown 3.3.6
  • markupsafe 2.0.1
  • modin 0.13.2
  • netifaces 0.11.0
  • numba 0.53.1
  • numpy 1.22.2
  • oauthlib 3.2.0
  • packaging 21.3
  • pandas 1.4.0
  • partd 1.2.0
  • ply 3.11
  • protobuf 3.19.4
  • pyarrow 0.13.0
  • pyasn1 0.4.8
  • pyasn1-modules 0.2.8
  • pycparser 2.21
  • pymapd 0.21.0
  • pyparsing 3.0.7
  • python-dateutil 2.8.2
  • pytz 2021.3
  • pyyaml 6.0
  • rbc-project 0.7.1
  • requests 2.27.1
  • requests-oauthlib 1.3.1
  • rsa 4.8
  • six 1.16.0
  • sqlalchemy 1.4.31
  • tblib 1.7.0
  • tensorboard 2.9.1
  • tensorboard-data-server 0.6.1
  • tensorboard-plugin-wit 1.8.1
  • thrift 0.11.0
  • thriftpy2 0.4.14
  • toolz 0.11.2
  • torch 1.10.2
  • typing-extensions 4.0.1
  • urllib3 1.26.8
  • werkzeug 2.0.2
  • zipp 3.7.0
pyproject.toml pypi
  • black ^22.3.0 develop
  • blacken-docs ^1.12.1 develop
  • flake8 ^4.0.1 develop
  • isort ^5.10.1 develop
  • mypy ^0.961 develop
  • pydocstyle ^6.1.1 develop
  • pytest ^7.1.2 develop
  • pytest-clarity ^1.0.1 develop
  • pytest-cov ^3.0.0 develop
  • pytest-xdist ^2.5.0 develop
  • seaborn ^0.11.2 develop
  • dask ^2022.1.1
  • intake-omnisci ^0.1.0
  • modin ^0.13.0
  • pandas ^1.4.0
  • python >=3.8,<3.10
  • tensorboard ^2.8.0
  • torch ^1.10.2
.github/workflows/python-ci.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
  • codecov/codecov-action v3 composite
  • creyD/prettier_action v4.2 composite
  • pre-commit/action v3.0.0 composite
.github/workflows/release-drafter.yml actions
  • release-drafter/release-drafter v5 composite
.github/workflows/release.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite