Skip to content

Running calculations on a single sample #7

Description

@kaylai

Is it possible to run a calculation on a single sample rather than a pandas dataframe? I'd like to use PySulfSat in some code I am working on, in which an SCSS calculation is called periodically by other routines. Unless I am mistaken, the current implementation of PySulfSat would require that I put my sample composition into an appropriately styled pandas dataframe each time I want to do an SCSS calculation, which is a bit cumbersome. Is there a current implementation for single samples that I missed?

If the answer is that you must use a dataframe, is there a danger or loss of functionality passing in a self-made dataframe rather than importing a file (e.g., does the import of a file create an object that has other attributes)?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions