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

BUG: AttributeError: 'DataFrame' object has no attribute '_is_builtin_func' #42356

Closed
2 of 3 tasks
ngupta23 opened this issue Jul 3, 2021 · 3 comments
Closed
2 of 3 tasks
Labels
Bug Closing Candidate May be closeable, needs more eyeballs Needs Triage Issue that has not been reviewed by a pandas team member

Comments

@ngupta23
Copy link

ngupta23 commented Jul 3, 2021

  • I have checked that this issue has not already been reported.

  • I have confirmed this bug exists on the latest version of pandas.

  • (optional) I have confirmed this bug exists on the master branch of pandas.


Note: Please read this guide detailing how to provide the necessary information for us to reproduce your bug.

Code Sample, a copy-pastable example

# Comes from private repo, but I will paste snippets where it gives errors
data.loc[:, 'update_status'] = data.apply(
    my_function,
    func_arg=some_value    
)

Problem description

GitHub Actions started failing after July 3rd (see image below). Realized that pandas has been upgraded to 1.3.0 on July 2nd. Reverted to pinning pandas to <= 1.2.5 and it started working again.

image

Expected Output

Output of pd.show_versions()

Issue with 1.3.0 but works fine with 1.2.5

@ngupta23 ngupta23 added Bug Needs Triage Issue that has not been reviewed by a pandas team member labels Jul 3, 2021
@casperdcl
Copy link

looks like in 33fec60 this private function was exposed as pandas.core.common.is_builtin_func()

@phofl
Copy link
Member

phofl commented Jul 20, 2021

@ngupta23 is this solved then?

@phofl phofl added the Closing Candidate May be closeable, needs more eyeballs label Jul 20, 2021
@casperdcl
Copy link

it's not a pandas bug. pandas deprecated a non-public method and created a public replacement. Yes should be closed.

@phofl phofl closed this as completed Jul 20, 2021
@phofl phofl added this to the No action milestone Jul 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Closing Candidate May be closeable, needs more eyeballs Needs Triage Issue that has not been reviewed by a pandas team member
Projects
None yet
Development

No branches or pull requests

3 participants