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

✨ df.struct.flatten to get rid of arrow structs #2072

Merged
merged 2 commits into from
Jun 8, 2022

Conversation

maartenbreddels
Copy link
Member

No description provided.

@maartenbreddels
Copy link
Member Author

This is a split of from #2004 which need this feature

@JovanVeljanoski
Copy link
Member

Should df.struct.flatten() also take a columns argument ? Maybe by default none (so apply to all struct cols), but maybe a user can choose a subset of cols to flatten?

@maartenbreddels
Copy link
Member Author

Yes, that makes total sense.

@maartenbreddels
Copy link
Member Author

OK, argument added, as well as a recursive flag.

@maartenbreddels maartenbreddels merged commit 1adf158 into master Jun 8, 2022
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.

2 participants