Skip to content Skip to sidebar Skip to footer

Polyfit() Got An Unexpected Keyword Argument 'w'

I'm trying to use np.polyfit and I keep getting the error: TypeError: polyfit() got an unexpected keyword argument 'w' The documentation on that function clearly mentions this arg

Solution 1:

This is the reference for your numpy version, the argument 'w' was only introduced in a later version.


Post a Comment for "Polyfit() Got An Unexpected Keyword Argument 'w'"