Skip to content

Fix: Updates requirement dependencies, replaces sum with agg - #3

Open
l-ray wants to merge 1 commit into
mbugert:masterfrom
l-ray:replaces-sum-with-agg
Open

Fix: Updates requirement dependencies, replaces sum with agg#3
l-ray wants to merge 1 commit into
mbugert:masterfrom
l-ray:replaces-sum-with-agg

Conversation

@l-ray

@l-ray l-ray commented Oct 14, 2021

Copy link
Copy Markdown

The updated dependencies allow compiling on Fedora 35. Be aware, that lapack-devel and cmake need to be installed on the system using the package manager.

Start lead to key error 'value' when using 'sum()':

  File "cashdash/cashdash/dashes/assets.py", line 53, in _setup_dash
    asset_account_transactions.append(transactions_of_account[VALUE])
  File "/usr/lib64/python3.10/site-packages/pandas/core/frame.py", line 3455, in __getitem__
    indexer = self.columns.get_loc(key)
  File "/usr/lib64/python3.10/site-packages/pandas/core/indexes/base.py", line 3363, in get_loc
    raise KeyError(key) from err
KeyError: 'value'

Changing 'sum()' to 'agg' solves this issue.

The updated dependencies allow compiling on Fedora 35. Be aware, that lapack-devel and cmake need to be installed on the system using the package manager.

Start lead to key error 'value' when using 'sum()', change to 'agg' solves 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

Successfully merging this pull request may close these issues.

1 participant