Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when using py2exe & pandas 0.8.1 #1774

Closed
elypma opened this issue Aug 17, 2012 · 1 comment

Comments

@elypma
Copy link

commented Aug 17, 2012

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

@wesm

This comment has been minimized.

Copy link
Member

commented Sep 9, 2012

This got fixed in #1792

@wesm wesm closed this Sep 9, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.