Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • nomad-FAIR nomad-FAIR
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 112
    • Issues 112
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 6
    • Merge requests 6
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • nomad-lab
  • nomad-FAIRnomad-FAIR
  • Issues
  • #501

Closed
Open
Created Feb 24, 2021 by Aviral Vaid@avaid🎨

Add Pandas object (datatype) support to NOMAD

Currently, NOMAD supports python base variable types such as int, float, str, etc. and numpy arrays.

A lot of upcoming data is expected to be columnar, and pandas is one of the standard libraries that is used to treat such data. NOMAD is also using the pints python package to keep track of units in scientific data.

The pints library has an extension available for the pandas library called pint_pandas. It adds a parameter "unit" to pandas Series. Operations involving different columns also behave as expected, such as multiplication between two quantities and throwing an error if two quantities with unmatched units are being added or subtracted. The examples can be seen on the documentation page of [pint_pandas](https://pint.readthedocs.io/en/stable/pint-pandas.html).

Assignee
Assign to
Time tracking