Skip to content

Conversation

@caikehe
Copy link

@caikehe caikehe commented Aug 2, 2016

  • closes #xxxx
  • tests added / passed
  • passes git diff upstream/master | flake8 --diff
  • whatsnew entry
@codecov-io
Copy link

codecov-io commented Aug 2, 2016

Current coverage is 85.23% (diff: 0.00%)

Merging #13878 into master will not change coverage

@@ master #13878 diff @@ ========================================== Files 140 140 Lines 50456 50456 Methods 0 0 Messages 0 0 Branches 0 0 ========================================== Hits 43007 43007 Misses 7449 7449 Partials 0 0 

Powered by Codecov. Last update d4f95fd...1ecdeb6

@jreback
Copy link
Contributor

jreback commented Aug 2, 2016

what exactly does this break?

@caikehe
Copy link
Author

caikehe commented Aug 3, 2016

when I run an example like:

from pandas.util.decorators import make_signature
def f(a,b,c=2) :
return a_b_c

print(make_signature(f))

I got an error as:
defaults = ('',) * n_wo_defaults + spec.defaults
TypeError: can only concatenate tuple (not "list") to tuple

@jreback
Copy link
Contributor

jreback commented Aug 3, 2016

hmm, that does fail (only in py3). Well must have been a typo in the copy paste a while back. Can you add a test in pandas/tests/test_util.py. make_signature is actually used in pandas.core.groupby. Can you repro an error from something?

@jreback jreback added the Compat pandas objects compatability with Numpy or Python functions label Aug 3, 2016
@jreback
Copy link
Contributor

jreback commented Sep 9, 2016

can you rebase / update?

@caikehe caikehe closed this Oct 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Compat pandas objects compatability with Numpy or Python functions

3 participants