Skip to content

Instantly share code, notes, and snippets.

@kyleabeauchamp
Last active August 29, 2015 13:57
Show Gist options
  • Save kyleabeauchamp/9855675 to your computer and use it in GitHub Desktop.
Save kyleabeauchamp/9855675 to your computer and use it in GitHub Desktop.
Examples for EXPT data
atom resSeq temperature pressure value uncertainty
HA 2 300 1.0 4.0 1.0
atom resSeq temperature pressure value uncertainty
HA 2 300 1.0 4.0 1.0
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
import pandas as pd
water = pd.read_csv("./waterdata.csv")
water["system"] = "waterbox"
water
ala3 = pd.read_csv("./ala3_chemical_shifts.csv")
ala3["system"] = "ALA3"
ala3["observable"] = "chemical_shift"
dataset = pd.concat((water, ala3))
import pandas as pd
water = pd.read_csv("./waterdata.txt", delim_whitespace=True)
water["system"] = "waterbox"
water
ala3 = pd.read_csv("./ala3_chemical_shifts.txt", delim_whitespace=True)
ala3["system"] = "ALA3"
ala3["observable"] = "chemical_shift"
dataset = pd.concat((water, ala3))
observable value uncertainty temperature pressure
diffusion_constant 4.8 1.0 300 1.
observable value uncertainty temperature pressure
diffusion_constant 4.8 1.0 300 1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment