Skip to content

DOC: Typo fix for .astype() in cheatsheet #61528

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

Merged

Conversation

brchristian
Copy link
Contributor

@brchristian brchristian commented May 31, 2025

Sorry, something went wrong.

Copy link
Member

@datapythonista datapythonista left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this @brchristian. Looks good. Do you know what's causing the increase in size of the pdf? No big deal I guess, but wondering if it's compression, metadata...

@brchristian
Copy link
Contributor Author

@datapythonista You're very welcome! I noticed that too about the PDF size. I'm not too familiar with the MS Office suite and how PowerPoint exports exactly; I just saved it directly from PowerPoint Version 16.97.2 (25052611) for Mac by following what looked like the standard flow through either "Save" or "Export" (they are identical in this case):

Screenshot 2025-06-01 at 8 02 47 AM

The dialog only provides two options for formatting: "Best for electronic distribution and accessibility" (491kB) and "Best for printing" (475kB).

I judged "electronic and accessibility" to be the best option because to my understanding it embeds accessibility tags and keeps hyperlinks, which bumps the file size slightly. Happy to go with whatever you think is best!

@datapythonista
Copy link
Member

Maybe it's just the version of office. I don't kmow much about office myself, if there isn't much we have control of it's fine. I was just wondering if we knew why it was a bit bigger just by removing a character. No big deal

@mroeschke mroeschke added the Docs label Jun 2, 2025
@mroeschke mroeschke added this to the 3.0 milestone Jun 2, 2025
@mroeschke mroeschke merged commit 7b72112 into pandas-dev:main Jun 2, 2025
10 checks passed
@mroeschke
Copy link
Member

Thanks @brchristian

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

Successfully merging this pull request may close these issues.

DOC: Official "Cheat Sheet" shows as_type() method, correct signature is astype()
3 participants