Skip to content

AttributeError: 'DataFrame' object has no attribute 'append' #107

@28YOGESH

Description

@28YOGESH

user: ~/moses$ python scripts/run.py
Traceback (most recent call last):
File "scripts/run.py", line 7, in
from moses.models_storage import ModelsStorage
File "/home/drkinshuk/moses/moses/init.py", line 2, in
from .metrics import get_all_metrics
File "/home/drkinshuk/moses/moses/metrics/init.py", line 1, in
from .metrics import get_all_metrics,
File "/home/drkinshuk/moses/moses/metrics/metrics.py", line 11, in
from .utils import compute_fragments, average_agg_tanimoto,
File "/home/drkinshuk/moses/moses/metrics/utils.py", line 24, in
_mcf.append(_pains, sort=True)['smarts'].values]
File "/home/drkinshuk/anaconda3/envs/my-rdkit-env/lib/python3.8/site-packages/pandas/core/generic.py", line 5989, in getattr
return object.getattribute(self, name)
AttributeError: 'DataFrame' object has no attribute 'append'

#Please help me, how to solve this error and why it shows this error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions