-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
'numpy.dtype[bool_]' object is not callable
when debugging code that uses Pandas
#18054
Comments
Hey @DDAAVVEE888, thanks for reporting. How can we install this Also, we don't have the |
Hi, here the instructions for the installation of the package: The csv has no relation with the function, I think that any csv import will bring this error. (my python interpreter is Python 3.10.4) Thanks in advance, |
After a bit of googling I found that this seems to be a problem in Pandas. Here it is the relevant issue: pandas-dev/pandas#41935, which will be fixed when Pandas 1.4.3 is released. For now there's nothing we can do about it. |
TypeError: 'numpy.dtype[bool_]' object is not callable
when debugging code that uses Pandas
TypeError: 'numpy.dtype[bool_]' object is not callable
when debugging code that uses Pandas'numpy.dtype[bool_]' object is not callable
when debugging code that uses Pandas
I not sure that's a pandas problem because I tried the code in another editor and it works in both debug and run mode. Also in Spyder in run mode it works fine... |
Probably in your other editor the debugger works differently. In any case, we'll wait for Pandas 1.4.3 and see because on the the issue I referenced above they clearly say that exactly this problem is caused by debuggers or profilers. |
@DDAAVVEE888, could you verify if the problem is fixed with Pandas 1.4.3, which was just released? |
Its fixed when updated to pandas 1.4.3 |
Ok, thanks for the confirmation @Mprabhudev044. Closing then. |
Description
What steps will reproduce the problem?
I need to use Nelson-Siegel-Svensson regression Model but the calibrate_ns_ols function works only in the RUN mode. While it doesn't in debug mode if preceded by any pandas csv import instruction.
The resulting error is the following:
TypeError: 'numpy.dtype[bool_]' object is not callable.
here the code examples:
Versions
Dependencies
The text was updated successfully, but these errors were encountered: