-
-
Notifications
You must be signed in to change notification settings - Fork 19.1k
Closed
Description
When compiling pandas 2 errors prevent the compiled installer from running:
In pandas.core.format (line 155) an unitintialised doc string is used:
doc += docstring_to_string
Easy solution:
if doc:
doc += docstring_to_string
else:
doc = docstring_to_string
In pandas.utils.decorators.py line 98:
docitems = [func.doc if func.doc else '', self.addendum]
func.doc = ''.join(docitems)
return func
becomes:
def call(self, func):
docitems = [func.doc if func.doc else '', self.addendum if self.addendum else '']
func.doc = ''.join(docitems)
return func