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

Convert to df.loc or df.iloc Pandas method for copying and augmenting dihedral angles data in results DataFrame #241

Closed
cadeduckworth opened this issue Feb 13, 2023 · 0 comments · Fixed by #242

Comments

@cadeduckworth
Copy link
Contributor

df1 = df[df.dihedral > 180 - padding]

@cadeduckworth cadeduckworth linked a pull request Feb 21, 2023 that will close this issue
orbeckst pushed a commit that referenced this issue Mar 27, 2023
* fix #241 
* add .copy(deep=True) method for dataframe augmentation to avoid pandas potentially loosing changes
  to a df due to working on a copy after indexing
* update CHANGES
* note: Tests pass as before so no functional code changes but more robust code
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

Successfully merging a pull request may close this issue.

1 participant