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

Add example of df.join(df2, how='cross') #18111

Closed
DeflateAwning opened this issue Aug 8, 2024 · 0 comments · Fixed by #20753
Closed

Add example of df.join(df2, how='cross') #18111

DeflateAwning opened this issue Aug 8, 2024 · 0 comments · Fixed by #20753
Labels
documentation Improvements or additions to documentation

Comments

@DeflateAwning
Copy link
Contributor

Description

On the join docs page, it's not very clear that you don't need to specify the on key for a cross-join.

Would be helpful to:

  1. Say that the on kwarg isn't required for cross joins.
  2. Add an example of a cross join

Link

https://docs.pola.rs/api/python/stable/reference/dataframe/api/polars.DataFrame.join.html#polars.DataFrame.join

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant