Title: Type Error issue · Issue #10 · ParallelDots/ParallelDots-Python-API · GitHub
Open Graph Title: Type Error issue · Issue #10 · ParallelDots/ParallelDots-Python-API
X Title: Type Error issue · Issue #10 · ParallelDots/ParallelDots-Python-API
Description: sentiment_score = response['sentiment'] TypeError: string indices must be integers, not str Earlier i was not facing this issue but its bugging me. my code: set_api_key(PKEY) import pdb; pdb.set_trace() words = str(caption) #words_check ...
Open Graph Description: sentiment_score = response['sentiment'] TypeError: string indices must be integers, not str Earlier i was not facing this issue but its bugging me. my code: set_api_key(PKEY) import pdb; pdb.set_tr...
X Description: sentiment_score = response['sentiment'] TypeError: string indices must be integers, not str Earlier i was not facing this issue but its bugging me. my code: set_api_key(PKEY) import pdb; pd...
Opengraph URL: https://github.com/ParallelDots/ParallelDots-Python-API/issues/10
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Type Error issue","articleBody":"sentiment_score = response['sentiment']\r\nTypeError: string indices must be integers, not str\r\n\r\nEarlier i was not facing this issue but its bugging me.\r\n\r\n\r\n\r\nmy code:\r\nset_api_key(PKEY)\r\n import pdb; pdb.set_trace()\r\n words = str(caption)\r\n #words_check = words.split()\r\n response = sentiment(words)\r\n sentiment_score = response['sentiment']\r\n","author":{"url":"https://github.com/SIMRAN88","@type":"Person","name":"SIMRAN88"},"datePublished":"2017-11-09T18:47:47.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/10/ParallelDots-Python-API/issues/10"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:af187d45-57ec-ff99-8c0c-f6d3dcf7ffd0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BF5C:AEC88:DD93A:118FAE:69900D6E |
| html-safe-nonce | b6ae5a7d605b85aeed7ed1e016b15cd4bd3564827e3c7fbf2bbfdd750ebca058 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRjVDOkFFQzg4OkREOTNBOjExOEZBRTo2OTkwMEQ2RSIsInZpc2l0b3JfaWQiOiI1NzI1MjUxMDk0NDk5NTYwODE0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 5eeda167df6257ef84f7c9df07f0eca7ff2cdd29490ef49472d00fe1832a6834 |
| hovercard-subject-tag | issue:272678702 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/ParallelDots/ParallelDots-Python-API/10/issue_layout |
| twitter:image | https://opengraph.githubassets.com/df157e52675cb695abfcbc63ecd0e0a6ec19d1309bcdb77a3a2632abc3528889/ParallelDots/ParallelDots-Python-API/issues/10 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/df157e52675cb695abfcbc63ecd0e0a6ec19d1309bcdb77a3a2632abc3528889/ParallelDots/ParallelDots-Python-API/issues/10 |
| og:image:alt | sentiment_score = response['sentiment'] TypeError: string indices must be integers, not str Earlier i was not facing this issue but its bugging me. my code: set_api_key(PKEY) import pdb; pdb.set_tr... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | SIMRAN88 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/ParallelDots/ParallelDots-Python-API git https://github.com/ParallelDots/ParallelDots-Python-API.git |
| octolytics-dimension-user_id | 11699243 |
| octolytics-dimension-user_login | ParallelDots |
| octolytics-dimension-repository_id | 38877017 |
| octolytics-dimension-repository_nwo | ParallelDots/ParallelDots-Python-API |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 38877017 |
| octolytics-dimension-repository_network_root_nwo | ParallelDots/ParallelDots-Python-API |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3b33c5aedc9808f45bc5fcf0b1e4404cf749dac7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width