intel / p3-analysis-library

A library simplifying the collection and interpretation of P3 data.
https://intel.github.io/p3-analysis-library/
MIT License
7 stars 10 forks source link

Explore use of Python DataFrame API instead of pandas #56

Open Pennycook opened 1 month ago

Pennycook commented 1 month ago

Feature/behavior summary

There are efforts underway to define a standard API for DataFrames, here: https://data-apis.org/dataframe-api/draft/index.html

Rewriting the P3 Analysis Library API to accept standard DataFrames instead of pandas.DataFrame objects would potentially enable us to ingest data from more sources.

Request attributes

Related issues

None

Solution description

Additional notes

An initial prototype could just focus on one or two functions (say, p3.metrics.application_efficiency and p3.metrics.pp).