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

docs(python): Minor fix in code example in section Coming from Pandas (#11745) #11745

Merged
merged 1 commit into from
Oct 15, 2023
Merged

docs(python): Minor fix in code example in section Coming from Pandas (#11745) #11745

merged 1 commit into from
Oct 15, 2023

Conversation

jrycw
Copy link
Contributor

@jrycw jrycw commented Oct 15, 2023

Pandas transform

Based on the df output, it seems that the order of columns should be ["c", "type"] rather than ["type", "c"].

   c type size
0  1    m    3
1  1    n    3
2  1    o    3
3  2    m    4
4  2    m    4
5  2    n    4
6  2    n    4

@github-actions github-actions bot added documentation Improvements or additions to documentation python Related to Python Polars rust Related to Rust Polars labels Oct 15, 2023
Copy link
Member

@stinodego stinodego left a comment

Choose a reason for hiding this comment

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

Thanks!

@stinodego stinodego merged commit bda942d into pola-rs:main Oct 15, 2023
5 checks passed
@stinodego stinodego changed the title docs: The orders of the df columns in user guide - Migrating: Coming from Pandas docs(rust): Minor fix in code example in section Coming from Pandas (#11745) Oct 15, 2023
@stinodego stinodego changed the title docs(rust): Minor fix in code example in section Coming from Pandas (#11745) docs(python): Minor fix in code example in section Coming from Pandas (#11745) Oct 15, 2023
@stinodego stinodego removed the rust Related to Rust Polars label Oct 15, 2023
@github-actions github-actions bot added the rust Related to Rust Polars label Oct 15, 2023
@jrycw jrycw deleted the fix-migrating-pandas.md branch October 17, 2023 05:33
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 python Related to Python Polars rust Related to Rust Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants