Skip to content

ondrolexa/petropandas

Repository files navigation

petropandas

Release Build status Commit activity License

Pandas accessors for petrologists

Getting started

First, import the petropandas. Note that numpy, matplotlib.pyplot, pandas and seaborn are also imported using common aliases np, plt, pd and sns:

from petropandas import *

You are now ready to use petropandas tools.

df = pd.read_excel("some/folder/data.xlsx")
df.oxides.molprop()
df.oxides.cations(noxy=12)

df.ree.normalize(reservoir='CI Chondrites', reference='McDonough & Sun 1995')

About

Pandas accessors for petrologists

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages