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 columns from set to list before creating pd.DataFrame() #193

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dtenenba
Copy link

Closes #192

Pandas' DataFrame() constructor used to accept a set as its columns argument, but no longer does.

This simply converts the set to a list before creating the data frame. There may be better approaches to deal with this issue, but I'm not familiar enough with this package to know about them.

Closes Hoohm#192 

Pandas' DataFrame() constructor used to accept a `set` as its `columns` argument, but no longer does.

This simply converts the `set` to a `list` before creating the data frame.
There may be better approaches to deal with this issue, but I'm not familiar enough with this package to know about them.
dtenenba added a commit to FredHutch/easybuild-life-sciences that referenced this pull request Jul 23, 2024
@Hoohm
Copy link
Owner

Hoohm commented Aug 28, 2024

Hello and thank you for taking a crack at it.
I'm gonna have a look at your PR this weekend :)

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 this pull request may close these issues.

ValueError: columns cannot be a set
2 participants