Skip to content

BUG in read_pickle #48007

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
merged 5 commits into from
Aug 9, 2022
Merged

BUG in read_pickle #48007

merged 5 commits into from
Aug 9, 2022

Conversation

Kinza-Raza
Copy link
Contributor

@Kinza-Raza Kinza-Raza commented Aug 8, 2022

Copy link
Member

@MarcoGorelli MarcoGorelli left a comment

Choose a reason for hiding this comment

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

Thanks, wording looks good!

I was surprised that flake8 wasn't throwing an error because of the long line, then I noticed noqa: E501 on L185

While we're here, could you please rewrite L167 so it spans multiple lines, like

    >>> original_df = pd.DataFrame(
    ...     {{"foo": range(5), "bar": range(5, 10)}}
    ...    )  # doctest: +SKIP

and then split the line you added into 2 lines, and also remove the noqa: E501 on line 185?

@pep8speaks
Copy link

pep8speaks commented Aug 8, 2022

Hello @Kinza-Raza! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2022-08-09 00:07:23 UTC

@Kinza-Raza
Copy link
Contributor Author

@MarcoGorelli I was trying to build the documentation as explained here but got some import errors (modules not found) even though I built the dev environment with docker.

It says in make.py

To build the docs you must have all optional dependencies for pandas
installed. See the installation instructions for a list of these.

Could you redirect me to the installation instructions for future reference so I can view the changes I'm making? Many thanks!

@mroeschke mroeschke added Docs IO Pickle read_pickle, to_pickle labels Aug 8, 2022
@Kinza-Raza Kinza-Raza requested a review from MarcoGorelli August 9, 2022 00:08
@MarcoGorelli MarcoGorelli added this to the 1.5 milestone Aug 9, 2022
Copy link
Member

@MarcoGorelli MarcoGorelli left a comment

Choose a reason for hiding this comment

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

Thanks @Kinza-Raza

@MarcoGorelli MarcoGorelli merged commit 7e89cc3 into pandas-dev:main Aug 9, 2022
@MarcoGorelli
Copy link
Member

Could you redirect me to the installation instructions for future reference so I can view the changes I'm making? Many thanks!

The instructions should all be in https://pandas.pydata.org/docs/development/contributing.html - if anything's not clear / doesn't work, please do feel free to ask for help

noatamir pushed a commit to noatamir/pandas that referenced this pull request Nov 9, 2022
* fix: read_pickle notes on backward compatibility

* updated: flake8 error handling

* updated: removed trailing whitespace

* updated: trim whitespace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Docs IO Pickle read_pickle, to_pickle
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG in read_pickle
5 participants