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
Closed

Error when using py2exe & pandas 0.8.1 #1774

elypma opened this issue Aug 17, 2012 · 1 comment
Labels
Milestone

Comments

@elypma
Copy link

elypma 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
Copy link
Member

wesm commented Sep 9, 2012

This got fixed in #1792

@wesm wesm closed this as completed Sep 9, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants