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

combineAdd NotImplementedError for SparseDataFrame #887

craustin opened this issue Mar 8, 2012 · 0 comments


Copy link

commented Mar 8, 2012

[also, should probably be combine_add]

from pandas import DataFrame
df = DataFrame()
sdf = df.to_sparse()

pandas\core\frame.pyc in combineAdd(self, other)
3861 DataFrame
3862 """
-> 3863 return self.add(other, fill_value=0.)
3865 def combineMult(self, other):

pandas\core\frame.pyc in f(self, other, axis, level, fill_value)
173 def f(self, other, axis=default_axis, level=None, fill_value=None):
174 if isinstance(other, DataFrame): # Another DataFrame
--> 175 return self._combine_frame(other, func, fill_value, level)
176 elif isinstance(other, Series):
177 return self._combine_series(other, func, fill_value, axis, level)

pandas\sparse\frame.pyc in _combine_frame(self, other, func, fill_value, level)
415 if fill_value is not None or level is not None:
--> 416 raise NotImplementedError
418 if not self and not other:


@wesm wesm closed this in a262f30 Mar 11, 2012

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