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

Possible Issue with 'ExplicitInventoryByAgent' #104

Open
FlanFlanagan opened this issue Jun 10, 2016 · 2 comments
Open

Possible Issue with 'ExplicitInventoryByAgent' #104

FlanFlanagan opened this issue Jun 10, 2016 · 2 comments

Comments

@FlanFlanagan
Copy link
Member

When I attempt to create frame using the following line I get the following error.

fname = cym.eval('ExplicitInventoryByAgent', db)
Traceback (most recent call last):
File "", line 1, in
File "/home/robert/.local/lib/python3.4/site-packages/cymetric/evaluator.py", line 82, in eval
return e.eval(str(metric), conds=conds)
File "/home/robert/.local/lib/python3.4/site-packages/cymetric/evaluator.py", line 59, in eval
raw = m(series=series, conds=conds, known_tables=self.known_tables)
File "/home/robert/.local/lib/python3.4/site-packages/cymetric/metrics.py", line 77, in call
return f(series)
File "/home/robert/.local/lib/python3.4/site-packages/cymetric/metrics.py", line 351, in explicit_inventory_by_agent
inv = inv.groupby(level=inv_index).sum()
AttributeError: 'NoneType' object has no attribute 'groupby'

@opotowsky
Copy link
Member

I'm wondering why the inv table is None here. Do you have the explicit inv table or the compact one, @FlanFlanagan?

@bam241
Copy link
Member

bam241 commented Jul 24, 2017

@FlanFlanagan
do you still have this issue ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants