workspace
stringclasses 1
value | channel
stringclasses 1
value | sentences
stringlengths 1
3.93k
| ts
stringlengths 26
26
| user
stringlengths 2
11
| sentence_id
stringlengths 44
53
| timestamp
float64 1.5B
1.56B
| __index_level_0__
int64 0
106k
|
---|---|---|---|---|---|---|---|
pythondev | help | None | 2019-05-13T11:23:29.454300 | Rodrick | pythondev_help_Rodrick_2019-05-13T11:23:29.454300 | 1,557,746,609.4543 | 23,421 |
pythondev | help | yeah, you need an instance of keywords, or make analyze a class method (likely the first). | 2019-05-13T11:29:54.455200 | Clemmie | pythondev_help_Clemmie_2019-05-13T11:29:54.455200 | 1,557,746,994.4552 | 23,422 |
pythondev | help | None | 2019-05-13T11:30:15.455300 | Clemmie | pythondev_help_Clemmie_2019-05-13T11:30:15.455300 | 1,557,747,015.4553 | 23,423 |
pythondev | help | Ok I will try that | 2019-05-13T11:30:25.455800 | Rodrick | pythondev_help_Rodrick_2019-05-13T11:30:25.455800 | 1,557,747,025.4558 | 23,424 |
pythondev | help | `__init__() missing 1 required positional argument: 'keyword'` Getting this now | 2019-05-13T11:31:33.456200 | Rodrick | pythondev_help_Rodrick_2019-05-13T11:31:33.456200 | 1,557,747,093.4562 | 23,425 |
pythondev | help | Code is the same | 2019-05-13T11:31:44.456400 | Rodrick | pythondev_help_Rodrick_2019-05-13T11:31:44.456400 | 1,557,747,104.4564 | 23,426 |
pythondev | help | ah, yes, when you initialize `Keyword()` it looks like it wants a keyword to set to `self.keyword` sorry i missed that | 2019-05-13T11:32:35.457300 | Clemmie | pythondev_help_Clemmie_2019-05-13T11:32:35.457300 | 1,557,747,155.4573 | 23,427 |
pythondev | help | So do I need to re-initilize a `self.Keyword`? | 2019-05-13T11:34:15.458000 | Rodrick | pythondev_help_Rodrick_2019-05-13T11:34:15.458000 | 1,557,747,255.458 | 23,428 |
pythondev | help | lets take a step back - what are you trying to do with this class? | 2019-05-13T11:34:36.458600 | Clemmie | pythondev_help_Clemmie_2019-05-13T11:34:36.458600 | 1,557,747,276.4586 | 23,429 |
pythondev | help | I needs to read in a string, process it and return either true or false | 2019-05-13T11:35:30.459500 | Rodrick | pythondev_help_Rodrick_2019-05-13T11:35:30.459500 | 1,557,747,330.4595 | 23,430 |
pythondev | help | ok, what does “process it” mean, and what is `self.keywrod` supposed to hold? | 2019-05-13T11:35:58.460100 | Clemmie | pythondev_help_Clemmie_2019-05-13T11:35:58.460100 | 1,557,747,358.4601 | 23,431 |
pythondev | help | processing the string is basically checking to see if it has certain attributes and then based on the conditions it will return true or false | 2019-05-13T11:37:29.461300 | Rodrick | pythondev_help_Rodrick_2019-05-13T11:37:29.461300 | 1,557,747,449.4613 | 23,432 |
pythondev | help | `self.keyword` is holding the keyword. And I am new to classes so this may seem like a dumb question but if I am only defining the `analyze` def in the class do i need the `self.keyword = keyword` | 2019-05-13T11:38:51.463000 | Rodrick | pythondev_help_Rodrick_2019-05-13T11:38:51.463000 | 1,557,747,531.463 | 23,433 |
pythondev | help | in the `__init__` | 2019-05-13T11:38:59.463300 | Rodrick | pythondev_help_Rodrick_2019-05-13T11:38:59.463300 | 1,557,747,539.4633 | 23,434 |
pythondev | help | is the keyword the condition you are searching for in a given string? | 2019-05-13T11:39:22.463700 | Clemmie | pythondev_help_Clemmie_2019-05-13T11:39:22.463700 | 1,557,747,562.4637 | 23,435 |
pythondev | help | Ahhhh I see one moment that code is confusing let me fix it one moment | 2019-05-13T11:40:04.464300 | Rodrick | pythondev_help_Rodrick_2019-05-13T11:40:04.464300 | 1,557,747,604.4643 | 23,436 |
pythondev | help | hold on… | 2019-05-13T11:40:19.464600 | Clemmie | pythondev_help_Clemmie_2019-05-13T11:40:19.464600 | 1,557,747,619.4646 | 23,437 |
pythondev | help | Lets talk it through first | 2019-05-13T11:40:32.465000 | Clemmie | pythondev_help_Clemmie_2019-05-13T11:40:32.465000 | 1,557,747,632.465 | 23,438 |
pythondev | help | you might not need a class, it might be simpler (or harder) | 2019-05-13T11:40:43.465300 | Clemmie | pythondev_help_Clemmie_2019-05-13T11:40:43.465300 | 1,557,747,643.4653 | 23,439 |
pythondev | help | Ok | 2019-05-13T11:40:50.465500 | Rodrick | pythondev_help_Rodrick_2019-05-13T11:40:50.465500 | 1,557,747,650.4655 | 23,440 |
pythondev | help | it can be useful to leave out the implementation details and mainly discuss the problem. | 2019-05-13T11:41:13.466700 | Eliana | pythondev_help_Eliana_2019-05-13T11:41:13.466700 | 1,557,747,673.4667 | 23,441 |
pythondev | help | conceptually what are you thinking `self.keyword` will represent? | 2019-05-13T11:41:20.466900 | Clemmie | pythondev_help_Clemmie_2019-05-13T11:41:20.466900 | 1,557,747,680.4669 | 23,442 |
pythondev | help | well I am using a class because I want the keywords function in another program | 2019-05-13T11:41:27.467100 | Rodrick | pythondev_help_Rodrick_2019-05-13T11:41:27.467100 | 1,557,747,687.4671 | 23,443 |
pythondev | help | you can import functions too | 2019-05-13T11:41:36.467400 | Clemmie | pythondev_help_Clemmie_2019-05-13T11:41:36.467400 | 1,557,747,696.4674 | 23,444 |
pythondev | help | everything in python is an object and can be imported | 2019-05-13T11:41:44.468000 | Clemmie | pythondev_help_Clemmie_2019-05-13T11:41:44.468000 | 1,557,747,704.468 | 23,445 |
pythondev | help | `from Keywords import analyze` | 2019-05-13T11:42:39.468400 | Holly | pythondev_help_Holly_2019-05-13T11:42:39.468400 | 1,557,747,759.4684 | 23,446 |
pythondev | help | It will represent a string where the keywords will be taken out | 2019-05-13T11:42:51.468700 | Rodrick | pythondev_help_Rodrick_2019-05-13T11:42:51.468700 | 1,557,747,771.4687 | 23,447 |
pythondev | help | so if my string is `Hello how are you` | 2019-05-13T11:43:03.469000 | Rodrick | pythondev_help_Rodrick_2019-05-13T11:43:03.469000 | 1,557,747,783.469 | 23,448 |
pythondev | help | It will cut it up into `hello`, `how`, `are`, `you` | 2019-05-13T11:43:27.469600 | Rodrick | pythondev_help_Rodrick_2019-05-13T11:43:27.469600 | 1,557,747,807.4696 | 23,449 |
pythondev | help | Hold up | 2019-05-13T11:44:43.470100 | Rodrick | pythondev_help_Rodrick_2019-05-13T11:44:43.470100 | 1,557,747,883.4701 | 23,450 |
pythondev | help | Oh i fixed it | 2019-05-13T11:44:49.470400 | Rodrick | pythondev_help_Rodrick_2019-05-13T11:44:49.470400 | 1,557,747,889.4704 | 23,451 |
pythondev | help | yay | 2019-05-13T11:44:51.470600 | Rodrick | pythondev_help_Rodrick_2019-05-13T11:44:51.470600 | 1,557,747,891.4706 | 23,452 |
pythondev | help | so i removed the `self.keyword` funtion which was giving me the error | 2019-05-13T11:45:18.471400 | Rodrick | pythondev_help_Rodrick_2019-05-13T11:45:18.471400 | 1,557,747,918.4714 | 23,453 |
pythondev | help | it did look superfluous | 2019-05-13T11:45:34.471700 | Clemmie | pythondev_help_Clemmie_2019-05-13T11:45:34.471700 | 1,557,747,934.4717 | 23,454 |
pythondev | help | yea | 2019-05-13T11:45:39.472000 | Rodrick | pythondev_help_Rodrick_2019-05-13T11:45:39.472000 | 1,557,747,939.472 | 23,455 |
pythondev | help | but now you don’t need the calss | 2019-05-13T11:45:43.472200 | Clemmie | pythondev_help_Clemmie_2019-05-13T11:45:43.472200 | 1,557,747,943.4722 | 23,456 |
pythondev | help | `analyze` (or more preferably `does_string_meet_conditions`) can be a standalone function | 2019-05-13T11:46:40.473400 | Clemmie | pythondev_help_Clemmie_2019-05-13T11:46:40.473400 | 1,557,748,000.4734 | 23,457 |
pythondev | help | Yea now I get what you are saying | 2019-05-13T11:47:13.474000 | Rodrick | pythondev_help_Rodrick_2019-05-13T11:47:13.474000 | 1,557,748,033.474 | 23,458 |
pythondev | help | :thumbsup: | 2019-05-13T11:47:23.474200 | Clemmie | pythondev_help_Clemmie_2019-05-13T11:47:23.474200 | 1,557,748,043.4742 | 23,459 |
pythondev | help | <@Clemmie> :taco: | 2019-05-13T11:48:26.474400 | Eliana | pythondev_help_Eliana_2019-05-13T11:48:26.474400 | 1,557,748,106.4744 | 23,460 |
pythondev | help | <@Clemmie> :taco: | 2019-05-13T11:49:21.476000 | Rodrick | pythondev_help_Rodrick_2019-05-13T11:49:21.476000 | 1,557,748,161.476 | 23,461 |
pythondev | help | I’m simply trying to bring more awareness to our local friendly neighborhood taco bot. If someone has been helpful we try to encourage ppl to give them tacos. why? b/c tacos are delicious :smiley: | 2019-05-13T11:49:26.476200 | Eliana | pythondev_help_Eliana_2019-05-13T11:49:26.476200 | 1,557,748,166.4762 | 23,462 |
pythondev | help | I love gamification! ….. probably too much….. | 2019-05-13T11:49:52.476600 | Clemmie | pythondev_help_Clemmie_2019-05-13T11:49:52.476600 | 1,557,748,192.4766 | 23,463 |
pythondev | help | <@Clemmie> don't eat to many tacos :slightly_smiling_face: | 2019-05-13T11:50:20.476900 | Rodrick | pythondev_help_Rodrick_2019-05-13T11:50:20.476900 | 1,557,748,220.4769 | 23,464 |
pythondev | help | yes we want that! lol | 2019-05-13T11:52:27.477200 | Eliana | pythondev_help_Eliana_2019-05-13T11:52:27.477200 | 1,557,748,347.4772 | 23,465 |
pythondev | help | Haha | 2019-05-13T11:52:59.477500 | Rodrick | pythondev_help_Rodrick_2019-05-13T11:52:59.477500 | 1,557,748,379.4775 | 23,466 |
pythondev | help | Does anyone know a good library that will allow me to do non-blocking (async) requests to mongodb? | 2019-05-13T14:55:32.478700 | Pura | pythondev_help_Pura_2019-05-13T14:55:32.478700 | 1,557,759,332.4787 | 23,467 |
pythondev | help | A few people I know have used motor; I haven't used it myself though | 2019-05-13T15:29:35.479200 | Holly | pythondev_help_Holly_2019-05-13T15:29:35.479200 | 1,557,761,375.4792 | 23,468 |
pythondev | help | question on how to pull a string of characters but ignore spaces | 2019-05-13T16:09:29.479900 | Walton | pythondev_help_Walton_2019-05-13T16:09:29.479900 | 1,557,763,769.4799 | 23,469 |
pythondev | help | typo, i meant text = "your string" | 2019-05-13T16:09:58.480400 | Walton | pythondev_help_Walton_2019-05-13T16:09:58.480400 | 1,557,763,798.4804 | 23,470 |
pythondev | help | use `replace` | 2019-05-13T16:11:32.480600 | Hiroko | pythondev_help_Hiroko_2019-05-13T16:11:32.480600 | 1,557,763,892.4806 | 23,471 |
pythondev | help | eg `text.replace(' ', '')` | 2019-05-13T16:11:43.480900 | Hiroko | pythondev_help_Hiroko_2019-05-13T16:11:43.480900 | 1,557,763,903.4809 | 23,472 |
pythondev | help | ok, so i'd have to edit the string and then call for the 6 characters? | 2019-05-13T16:18:10.481500 | Walton | pythondev_help_Walton_2019-05-13T16:18:10.481500 | 1,557,764,290.4815 | 23,473 |
pythondev | help | `text.replace(' ', '')[:6]`? | 2019-05-13T16:21:26.481800 | Hiroko | pythondev_help_Hiroko_2019-05-13T16:21:26.481800 | 1,557,764,486.4818 | 23,474 |
pythondev | help | ah ok | 2019-05-13T16:22:25.482000 | Walton | pythondev_help_Walton_2019-05-13T16:22:25.482000 | 1,557,764,545.482 | 23,475 |
pythondev | help | but can I do this without editing 'your string' | 2019-05-13T16:22:44.482500 | Walton | pythondev_help_Walton_2019-05-13T16:22:44.482500 | 1,557,764,564.4825 | 23,476 |
pythondev | help | basically i'm whipping up usernames, and need to consider people with last names like, "de la santos" | 2019-05-13T16:23:13.483400 | Walton | pythondev_help_Walton_2019-05-13T16:23:13.483400 | 1,557,764,593.4834 | 23,477 |
pythondev | help | but I don't want to manipulate the last name, i just want to use their name as a basis for a userid | 2019-05-13T16:23:38.484100 | Walton | pythondev_help_Walton_2019-05-13T16:23:38.484100 | 1,557,764,618.4841 | 23,478 |
pythondev | help | Oh i'm a moron. i can just uid = text.replace('",'')[:6] | 2019-05-13T16:24:17.485100 | Walton | pythondev_help_Walton_2019-05-13T16:24:17.485100 | 1,557,764,657.4851 | 23,479 |
pythondev | help | wait! i was reading that! | 2019-05-13T16:25:13.485500 | Walton | pythondev_help_Walton_2019-05-13T16:25:13.485500 | 1,557,764,713.4855 | 23,480 |
pythondev | help | :stuck_out_tongue: | 2019-05-13T16:25:17.485700 | Walton | pythondev_help_Walton_2019-05-13T16:25:17.485700 | 1,557,764,717.4857 | 23,481 |
pythondev | help | you don’t need it | 2019-05-13T16:25:50.485900 | Clemmie | pythondev_help_Clemmie_2019-05-13T16:25:50.485900 | 1,557,764,750.4859 | 23,482 |
pythondev | help | you have it right | 2019-05-13T16:25:54.486100 | Clemmie | pythondev_help_Clemmie_2019-05-13T16:25:54.486100 | 1,557,764,754.4861 | 23,483 |
pythondev | help | mine was way over engineered | 2019-05-13T16:25:59.486300 | Clemmie | pythondev_help_Clemmie_2019-05-13T16:25:59.486300 | 1,557,764,759.4863 | 23,484 |
pythondev | help | thank you everybody | 2019-05-13T16:27:05.486500 | Walton | pythondev_help_Walton_2019-05-13T16:27:05.486500 | 1,557,764,825.4865 | 23,485 |
pythondev | help | i need to give out tacos | 2019-05-13T16:27:13.486800 | Walton | pythondev_help_Walton_2019-05-13T16:27:13.486800 | 1,557,764,833.4868 | 23,486 |
pythondev | help | ::taco:: <@Hiroko> <@Clemmie> | 2019-05-13T16:27:34.487300 | Walton | pythondev_help_Walton_2019-05-13T16:27:34.487300 | 1,557,764,854.4873 | 23,487 |
pythondev | help | i have 3 tacos left? what sorcery is this? | 2019-05-13T16:28:18.487700 | Walton | pythondev_help_Walton_2019-05-13T16:28:18.487700 | 1,557,764,898.4877 | 23,488 |
pythondev | help | 5 to give each day | 2019-05-13T16:28:41.488000 | Clemmie | pythondev_help_Clemmie_2019-05-13T16:28:41.488000 | 1,557,764,921.488 | 23,489 |
pythondev | help | no rollover | 2019-05-13T16:28:49.488300 | Clemmie | pythondev_help_Clemmie_2019-05-13T16:28:49.488300 | 1,557,764,929.4883 | 23,490 |
pythondev | help | Is that a Bruins Jersey in your profile? | 2019-05-13T16:28:54.488500 | Walton | pythondev_help_Walton_2019-05-13T16:28:54.488500 | 1,557,764,934.4885 | 23,491 |
pythondev | help | yup | 2019-05-13T16:29:01.488700 | Clemmie | pythondev_help_Clemmie_2019-05-13T16:29:01.488700 | 1,557,764,941.4887 | 23,492 |
pythondev | help | I want my taco back | 2019-05-13T16:29:05.488900 | Walton | pythondev_help_Walton_2019-05-13T16:29:05.488900 | 1,557,764,945.4889 | 23,493 |
pythondev | help | :stuck_out_tongue: | 2019-05-13T16:29:08.489100 | Walton | pythondev_help_Walton_2019-05-13T16:29:08.489100 | 1,557,764,948.4891 | 23,494 |
pythondev | help | Should I read rogue as rouge? | 2019-05-13T16:29:46.489600 | Clemmie | pythondev_help_Clemmie_2019-05-13T16:29:46.489600 | 1,557,764,986.4896 | 23,495 |
pythondev | help | hehe. was nickname from former bosses | 2019-05-13T16:30:48.489900 | Walton | pythondev_help_Walton_2019-05-13T16:30:48.489900 | 1,557,765,048.4899 | 23,496 |
pythondev | help | ok, another newbish question. I want to add a 1 to the string. but i dont really want to convert it, because later on I need to see if this UID already exists, and if it does, go back an increment by 1, and repeat until the UID is unique. is there an easy method? | 2019-05-13T16:41:39.491700 | Walton | pythondev_help_Walton_2019-05-13T16:41:39.491700 | 1,557,765,699.4917 | 23,497 |
pythondev | help | I already get an error for names without spaces... but I can deal with that | 2019-05-13T16:42:15.492300 | Walton | pythondev_help_Walton_2019-05-13T16:42:15.492300 | 1,557,765,735.4923 | 23,498 |
pythondev | help | Nevermind i think I figured it out | 2019-05-13T16:45:26.492600 | Walton | pythondev_help_Walton_2019-05-13T16:45:26.492600 | 1,557,765,926.4926 | 23,499 |
pythondev | help | str(<number>) | 2019-05-13T16:45:38.492900 | Walton | pythondev_help_Walton_2019-05-13T16:45:38.492900 | 1,557,765,938.4929 | 23,500 |
pythondev | help | you can do that, but it is fragile. It is setting you up for a collision/possibly infinite lookups if two people with the same last name are trying to sign up at the same time | 2019-05-13T16:53:00.494100 | Clemmie | pythondev_help_Clemmie_2019-05-13T16:53:00.494100 | 1,557,766,380.4941 | 23,501 |
pythondev | help | Ah well, the way it works, it shouldn't. It goes row by row, ties together the lastname[:4] +first name [:2] + str(1), then it will do an ldap query. make sure its ....oh | 2019-05-13T16:57:48.495500 | Walton | pythondev_help_Walton_2019-05-13T16:57:48.495500 | 1,557,766,668.4955 | 23,502 |
pythondev | help | crap | 2019-05-13T16:57:55.495700 | Walton | pythondev_help_Walton_2019-05-13T16:57:55.495700 | 1,557,766,675.4957 | 23,503 |
pythondev | help | wait i can fix that | 2019-05-13T16:58:04.495900 | Walton | pythondev_help_Walton_2019-05-13T16:58:04.495900 | 1,557,766,684.4959 | 23,504 |
pythondev | help | with that replace thing, whats the equivalent of OR... could I do x.replace(' ' OR ' OR `, '') | 2019-05-13T16:59:23.497100 | Walton | pythondev_help_Walton_2019-05-13T16:59:23.497100 | 1,557,766,763.4971 | 23,505 |
pythondev | help | maybe .replace (' ' || ' || `,'') | 2019-05-13T16:59:53.497600 | Walton | pythondev_help_Walton_2019-05-13T16:59:53.497600 | 1,557,766,793.4976 | 23,506 |
pythondev | help | what are you trying to do, in words? that is unclear as pseudo-code | 2019-05-13T17:00:28.498200 | Clemmie | pythondev_help_Clemmie_2019-05-13T17:00:28.498200 | 1,557,766,828.4982 | 23,507 |
pythondev | help | I need to account for the O'Malleys | 2019-05-13T17:00:51.498400 | Walton | pythondev_help_Walton_2019-05-13T17:00:51.498400 | 1,557,766,851.4984 | 23,508 |
pythondev | help | as before it was for the De Los Santos | 2019-05-13T17:01:07.498700 | Walton | pythondev_help_Walton_2019-05-13T17:01:07.498700 | 1,557,766,867.4987 | 23,509 |
pythondev | help | this time i'm protecting the code against the irish | 2019-05-13T17:01:17.499000 | Walton | pythondev_help_Walton_2019-05-13T17:01:17.499000 | 1,557,766,877.499 | 23,510 |
pythondev | help | So Timothy O'Malley for a proposed UID should be omallet | 2019-05-13T17:02:09.499700 | Walton | pythondev_help_Walton_2019-05-13T17:02:09.499700 | 1,557,766,929.4997 | 23,511 |
pythondev | help | yeah, you need to check if all chars are alpha - you _do_ want what I was showing earlier - `"".join([x for x in text if x.isalpha()])` | 2019-05-13T17:03:33.000600 | Clemmie | pythondev_help_Clemmie_2019-05-13T17:03:33.000600 | 1,557,767,013.0006 | 23,512 |
pythondev | help | you probably also want to set you entire uid to lower, so `uid= <get uid logic>.lower()` | 2019-05-13T17:05:02.001400 | Clemmie | pythondev_help_Clemmie_2019-05-13T17:05:02.001400 | 1,557,767,102.0014 | 23,513 |
pythondev | help | so in your example, what would the 2nd x be? as that'd be a variable | 2019-05-13T17:07:39.002400 | Walton | pythondev_help_Walton_2019-05-13T17:07:39.002400 | 1,557,767,259.0024 | 23,514 |
pythondev | help | i just confused myself | 2019-05-13T17:08:15.003200 | Walton | pythondev_help_Walton_2019-05-13T17:08:15.003200 | 1,557,767,295.0032 | 23,515 |
pythondev | help | what is x, is an easier question | 2019-05-13T17:08:25.003500 | Walton | pythondev_help_Walton_2019-05-13T17:08:25.003500 | 1,557,767,305.0035 | 23,516 |
pythondev | help | What I am doing right now , using OpenPyxl | 2019-05-13T17:09:02.004100 | Walton | pythondev_help_Walton_2019-05-13T17:09:02.004100 | 1,557,767,342.0041 | 23,517 |
pythondev | help | that is a list comprehension - it is making a list of characters `x` with the for loop `x in text` (strings are iterable) and it tests if each `x.isalpha()` before it adds it to the list. This gives you a list of chars that are then `join`ed with the character `""` as the joining string | 2019-05-13T17:10:06.005500 | Clemmie | pythondev_help_Clemmie_2019-05-13T17:10:06.005500 | 1,557,767,406.0055 | 23,518 |
pythondev | help | gotcha. so my final string should look like | 2019-05-13T17:13:17.005800 | Walton | pythondev_help_Walton_2019-05-13T17:13:17.005800 | 1,557,767,597.0058 | 23,519 |
pythondev | help | close | 2019-05-13T17:14:10.006200 | Clemmie | pythondev_help_Clemmie_2019-05-13T17:14:10.006200 | 1,557,767,650.0062 | 23,520 |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.