Skip to content
This repository has been archived by the owner on Feb 17, 2021. It is now read-only.

Fails type checking on dataframe.to_pickle #216

Closed
EdwardJRoss opened this issue Jan 8, 2021 · 0 comments · Fixed by #217
Closed

Fails type checking on dataframe.to_pickle #216

EdwardJRoss opened this issue Jan 8, 2021 · 0 comments · Fixed by #217

Comments

@EdwardJRoss
Copy link
Contributor

Running mypy with data-science-types on the following

import pandas as pd
df = pd.DataFrame({'a': [1]})
df.to_pickle('output.pkl')

Produces an error:

error: "Series[Any]" not callable

I would expect it to pass using DataFrame.to_pickle

@EdwardJRoss EdwardJRoss changed the title Fails typecheckign on dataframe.to_pickle Fails type checking on dataframe.to_pickle Jan 8, 2021
@tmke8 tmke8 closed this as completed in #217 Jan 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant