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

Youtube data doesn't work with preprocessing #121

Closed
longshuicy opened this issue May 22, 2024 · 0 comments · Fixed by #125
Closed

Youtube data doesn't work with preprocessing #121

longshuicy opened this issue May 22, 2024 · 0 comments · Fixed by #125
Assignees
Labels
bug Something isn't working youtube

Comments

@longshuicy
Copy link
Member

{"ERROR":{"message":""['_source.id_str'] not in index"","traceback":"Traceback (most recent call last):\n File "./rabbitmq_handler.py", line 45, in rabbitmq_handler\n output = algorithm(df, params)\n File "/scripts/algorithm.py", line 17, in algorithm\n PP = Preprocess(df, params['column'])\n File "/scripts/preprocessing.py", line 31, in init\n df_new = df[df[column] != ''][[self.id_column, column]].dropna()\n File "/usr/local/lib/python3.7/site-packages/pandas/core/frame.py", line 3464, in getitem\n indexer = self.loc._get_listlike_indexer(key, axis=1)[1]\n File "/usr/local/lib/python3.7/site-packages/pandas/core/indexing.py", line 1314, in _get_listlike_indexer\n self._validate_read_indexer(keyarr, indexer, axis)\n File "/usr/local/lib/python3.7/site-packages/pandas/core/indexing.py", line 1377, in _validate_read_indexer\n raise KeyError(f"{not_found} not in index")\nKeyError: "['_source.id_str'] not in index"\n"}}

@longshuicy longshuicy added bug Something isn't working youtube labels May 22, 2024
@longshuicy longshuicy self-assigned this May 22, 2024
@longshuicy longshuicy linked a pull request Aug 22, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working youtube
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant