Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No examples of what sorts of queries can be performed. #26

Open
mrshirts opened this issue Mar 18, 2016 · 6 comments
Open

No examples of what sorts of queries can be performed. #26

mrshirts opened this issue Mar 18, 2016 · 6 comments

Comments

@mrshirts
Copy link

No description provided.

@jchodera
Copy link
Member

Basic example added in #27. Will try to add more once I figure them out, but would be great if Bryce could add example code as he digs up density and enthalpy data. @mrshirts : Can you tag his github handle?

@mrshirts
Copy link
Author

@manubay: for the record.

@mrshirts
Copy link
Author

Whoops. @bmanubay

@bmanubay
Copy link
Contributor

@jchodera

Hi John,

Just for the sake of consistency with how you defined the pandas data frame variable in the example provided, the last line of code in the "Use Pandas to query the experimental literature" section should read:

# Extract rows with mass densities
densities = df[np.isnan(df['Mass density, kg/m3'])==False]
# Get a list of unique components
unique_components = set(df['components'])

Correct?

@jchodera
Copy link
Member

Yes, sorry! Can you submit a pull request to correct the README.md?

@bmanubay
Copy link
Contributor

Sure!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants