Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add copy keyword to to_dataframe#10345

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
rabernat wants to merge2 commits intomain
base:main
Choose a base branch
Loading
fromadd-copy-keyword-to-dataframe

Conversation

rabernat
Copy link
Contributor

  • ClosesEnable zero-copyto_dataframe #9792
  • Tests added
  • User visible changes (including notable bug fixes) are documented inwhats-new.rst
  • New functions/methods are listed inapi.rst

I couldn't resist just doing this directly from GitHub to show how simple it is...

@@ -7066,7 +7066,7 @@ def to_pandas(self) -> pd.Series | pd.DataFrame:
"Please use Dataset.to_dataframe() instead."
)

def _to_dataframe(self, ordered_dims: Mapping[Any, int]):
def _to_dataframe(self, ordered_dims: Mapping[Any, int], copy: bool = True):
Copy link
Contributor

Choose a reason for hiding this comment

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

Seems like it needs to be added to theto_dataframe method

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@dcheriandcheriandcherian left review comments

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Enable zero-copyto_dataframe
2 participants
@rabernat@dcherian

[8]ページ先頭

©2009-2025 Movatter.jp