Skip to content

Error when using py2exe & pandas 0.8.1 #1774

@elypma

Description

@elypma

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions