There is an operator missing, likely a `*`

:

-3.7 need_something_here (prof[x])

The “is *not callable*” occurs because the parenthesis — and lack of operator which would have switched the parenthesis into precedence operators — make Python try to *call* the result of `-3.7`

(a float) as a function, which is not allowed.

The parenthesis are also not needed in this case, the following may be sufficient/correct:

-3.7 * prof[x]

As Legolas points out, there are other things which may need to be addressed:

2.25 * (1 - math.pow(math.e, (-3.7(prof[x])/2.25))) * (math.e, (0/2.25))) ^-- op missing extra parenthesis --^ valid but questionable float*tuple --^ expression yields 0.0 always --^

### Related Posts:

- numpy max vs amax vs maximum
- What do these operators mean (** , ^ , %, //)? [closed]
- What do these operators mean (** , ^ , %, //)? [closed]
- What’s the canonical way to check for type in Python?
- syntaxerror: “unexpected character after line continuation character in python” math
- Error: all the input array dimensions except for the concatenation axis must match exactly
- TypeError: ‘str’ object cannot be interpreted as an integer [duplicate]
- How do order of operations go on Python?
- What is dtype(‘O’), in pandas?
- What does numpy.gradient do?
- What is dtype(‘O’), in pandas?
- Python: OverflowError: math range error
- How to determine a Python variable’s type?
- How can I use numpy.correlate to do autocorrelation?
- Change column type in pandas
- How can I convert radians to degrees with Python?
- Determine the type of an object?
- Infinite integer in Python
- Overflow / math range error for log or exp
- How do I find the distance between two points?
- How can I check for NaN values?
- Python – how to use the constant e^
- log2 in python math module
- How to check if type of a variable is string?
- What is the difference between ‘/’ and ‘//’ when used for division?
- How can I check for NaN values?
- Append a tuple to a list – what’s the difference between two ways?
- How can I check if two segments intersect?
- python math domain errors in math.log function
- How to fix ‘RuntimeWarning: divide by zero encountered in double_scalars’
- Is there a math nCr function in python?
- How do I compute derivative using Numpy?
- Is there a math nCr function in python? [duplicate]
- Function to determine if two numbers are nearly equal when rounded to n significant decimal digits
- How can I reverse a list in Python?
- How to use filter, map, and reduce in Python 3
- What does enumerate() mean?
- Does Python have a ternary conditional operator?
- What is the difference between Python’s list methods append and extend?
- Iterating over dictionaries using ‘for’ loops
- how to sort pandas dataframe from one column
- Understanding slice notation
- How do I sort a dictionary by value?
- How do I sort a dictionary by value?
- django: TypeError: ‘tuple’ object is not callable
- ValueError: Length of values does not match length of index | Pandas DataFrame.unique()
- unhashable type: ‘dict’ Type Error [duplicate]
- How to set environment variables in Python?
- I keep getting this error for my simple python program: “TypeError: ‘float’ object cannot be interpreted as an integer”
- Numpy std calculation: TypeError: cannot perform reduce with flexible type
- Regex: AttributeError: ‘NoneType’ object has no attribute ‘groups’
- Internal Redirect in Flask
- Matplotlib automatic legend outside plot
- Syntax behind sorted(key=lambda: …)
- convert nan value to zero
- How to install pip3 on Windows?
- Create own colormap using matplotlib and plot color scale
- The difference between ‘+=’ and ‘=+’?
- How to fix “Attempted relative import in non-package” even with __init__.py
- Sorting a set of values
- Git Bash won’t run my python files?
- Can only use .dt accessor with datetimelike values
- Convert XML to CSV file
- Pandas join issue: columns overlap but no suffix specified
- How to downgrade python from 3.7 to 3.6
- How to turn on line numbers in IDLE?
- OpenCV NoneType object has no attribute shape
- How to use an image for the background in tkinter?
- Python locale error: unsupported locale setting
- sklearn Logistic Regression “ValueError: Found array with dim 3. Estimator expected <= 2."
- Sqlite3, OperationalError: unable to open database file
- What does ‘index 0 is out of bounds for axis 0 with size 0’ mean?
- ImportError: libGL.so.1: cannot open shared object file: No such file or directory
- Python List object attribute ‘append’ is read-only
- Infinite for loops possible in Python?
- RuntimeError: module compiled against API version a but this version of numpy is 9
- Python3 Error: TypeError: Can’t convert ‘bytes’ object to str implicitly
- Coalesce values from 2 columns into a single column in a pandas dataframe
- Unknown format code ‘f’ for object of type ‘str’- Folium
- Pyinstaller setting icons don’t change
- No module named ‘tqdm’
- Compute a confidence interval from sample data
- Can’t get Python to import from a different folder
- How to crop an image in OpenCV using Python
- convert csv file to list of dictionaries
- What’s the difference between “virtualenv” and “-m venv” in creating Virtual environments(Python)
- OperationalError: database is locked
- Must have equal len keys and value when setting with an iterable
- print(__doc__) in Python 3 script
- Convert a 1D array to a 2D array in numpy
- How to print a linebreak in a python function?
- Pandas dataframe groupby plot
- Download Returned Zip file from URL
- Python 3 TypeError: must be str, not bytes with sys.stdout.write()
- How do I represent and work with n-bit vectors in Python?
- How to repeat individual characters in strings in Python
- ValueError: Cannot set a frame with no defined index and a value that cannot be converted to a Series
- SMTP AUTH extension not supported by server
- How to install PyQt4 on Windows using pip?
- How to install PyQt4 on Windows using pip?