Skip to content
This repository was archived by the owner on Feb 26, 2025. It is now read-only.

Conversation

@HDictus
Copy link

@HDictus HDictus commented Oct 28, 2022

clearer error for #16

columns=["gene", "volume"],
)
for gene, volume in volumes[["gene", "volume"]]:
for gene, volume in volumes[["gene", "volume"]].values:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the official recommendation is to use to_numpy():
https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.values.html

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants