Skip to content

Fix typo in explode docs #59066

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

Closed
wants to merge 1 commit into from
Closed

Conversation

JLLeitschuh
Copy link

I'm assuming this change is correct, because as it was, it didn't look correct.

@@ -9695,7 +9695,7 @@ def explode(

Multi-column explode.

>>> df.explode(list("AC"))
>>> df.explode(list("A", "C"))
Copy link
Member

Choose a reason for hiding this comment

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

Thanks for the PR but this is correct. Your change is invalid syntax

In [1]: list("A", "C")
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
Cell In[1], line 1
----> 1 list("A", "C")

TypeError: list expected at most 1 argument, got 2

@mroeschke
Copy link
Member

Closing as this is correct

@mroeschke mroeschke closed this Jun 21, 2024
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