Skip to content

DataFrame' object has no attribute 'tokens' in analyzing_artemis task. #6

Description

@lr19960813

I try running the analyzing_artemis file to analysis the first examples but there are something wrong with that.
When I do this I got:
File "Downloads/code/artemis_code/analyzing.py", line 28, in
df.tokens = df.tokens.apply(literal_eval) # to make them a python list.
File "artemis/lib/python3.8/site-packages/pandas/core/generic.py", line 5465, in __getattr__return object.getattribute(self, name)
AttributeError: 'DataFrame' object has no attribute 'tokens'
I think maybe something wrong with df(artemis_preprocessed_csv), but I am not sure.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions