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

Add fill_value argument to Series/DataFrame.align #806

Closed
wesm opened this issue Feb 19, 2012 · 2 comments

Comments

Projects
None yet
2 participants
@wesm
Copy link
Member

commented Feb 19, 2012

No description provided.

@changhiskhan

This comment has been minimized.

Copy link
Contributor

commented Feb 21, 2012

Wes, I'm getting an error when I try to run the nosetests for Pandas. It's unrelated to the new code I'm adding for this issue. I ran python setup.py install again to rebuild but still get this error. What am I missing?

ERROR: Failure: AttributeError ('module' object has no attribute 'is_integer_array')

Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/nose/loader.py", line 390, in loadTestsFromName
addr.filename, addr.module)
File "/usr/lib/pymodules/python2.7/nose/importer.py", line 39, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/lib/pymodules/python2.7/nose/importer.py", line 86, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/home/chang/git-repos/pandas/pandas/init.py", line 22, in
from pandas.core.api import *
File "/home/chang/git-repos/pandas/pandas/core/api.py", line 9, in
from pandas.core.format import set_printoptions
File "/home/chang/git-repos/pandas/pandas/core/format.py", line 5, in
from pandas.core.index import MultiIndex, _ensure_index
File "/home/chang/git-repos/pandas/pandas/core/index.py", line 2103, in
NULL_INDEX = Index([])
File "/home/chang/git-repos/pandas/pandas/core/index.py", line 74, in new
if lib.is_integer_array(subarr) and dtype is None:
AttributeError: 'module' object has no attribute 'is_integer_array'


Ran 1 test in 0.007s

FAILED (errors=1)

@wesm

This comment has been minimized.

Copy link
Member Author

commented Feb 21, 2012

Gotta rebuild the C extensions. Run setup.py build_ext --inplace

Sent from my mobile device

On Feb 20, 2012, at 9:48 PM, Chang She
reply@reply.github.com
wrote:

Wes, I'm getting an error when I try to run the nosetests for Pandas. It's unrelated to the new code I'm adding for this issue. I ran python setup.py install again to rebuild but still get this error. What am I missing?

ERROR: Failure: AttributeError ('module' object has no attribute 'is_integer_array')

Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/nose/loader.py", line 390, in loadTestsFromName
addr.filename, addr.module)
File "/usr/lib/pymodules/python2.7/nose/importer.py", line 39, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/lib/pymodules/python2.7/nose/importer.py", line 86, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/home/chang/git-repos/pandas/pandas/init.py", line 22, in
from pandas.core.api import *
File "/home/chang/git-repos/pandas/pandas/core/api.py", line 9, in
from pandas.core.format import set_printoptions
File "/home/chang/git-repos/pandas/pandas/core/format.py", line 5, in
from pandas.core.index import MultiIndex, _ensure_index
File "/home/chang/git-repos/pandas/pandas/core/index.py", line 2103, in
NULL_INDEX = Index([])
File "/home/chang/git-repos/pandas/pandas/core/index.py", line 74, in new
if lib.is_integer_array(subarr) and dtype is None:
AttributeError: 'module' object has no attribute 'is_integer_array'


Ran 1 test in 0.007s

FAILED (errors=1)


Reply to this email directly or view it on GitHub:
#806 (comment)

wesm added a commit that referenced this issue Feb 23, 2012

Merge pull request #807 from changhiskhan/master
Issue #806 DataFrame/Series.align can now specify fill_value or fill_method

@wesm wesm closed this Feb 24, 2012

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