Thursday, May 4, 2017

TypeError: extract() got an unexpected keyword argument 'expand'

If you got the following error:

TypeError: extract() got an unexpected keyword argument 'expand'

try "conda list" to check the version of "pandas":

pandas                    0.17.1              np110py35_0

Update "pandas" with "conda update pandas" and try "conda list" again:

pandas                    0.19.2              np111py35_1

Now it works.

No comments:

Post a Comment