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 | yeah I think that all needs to be combined in the initial for loop above, but my brain is a bit too fried to process all this right now, sorry. :confused: | 2018-01-22T20:36:33.000704 | Zack | pythondev_help_Zack_2018-01-22T20:36:33.000704 | 1,516,653,393.000704 | 30,624 |
pythondev | help | np thanks for your help already | 2018-01-22T20:37:17.000156 | Pennie | pythondev_help_Pennie_2018-01-22T20:37:17.000156 | 1,516,653,437.000156 | 30,625 |
pythondev | help | You think I can come by tomorrow? | 2018-01-22T20:37:45.000293 | Pennie | pythondev_help_Pennie_2018-01-22T20:37:45.000293 | 1,516,653,465.000293 | 30,626 |
pythondev | help | I'll work on it the whole day | 2018-01-22T20:37:52.000448 | Pennie | pythondev_help_Pennie_2018-01-22T20:37:52.000448 | 1,516,653,472.000448 | 30,627 |
pythondev | help | maybe I can fix it | 2018-01-22T20:37:59.000002 | Pennie | pythondev_help_Pennie_2018-01-22T20:37:59.000002 | 1,516,653,479.000002 | 30,628 |
pythondev | help | but I can put a while loop in my for loop? | 2018-01-22T20:38:22.000263 | Pennie | pythondev_help_Pennie_2018-01-22T20:38:22.000263 | 1,516,653,502.000263 | 30,629 |
pythondev | help | sure, and there’s more people on during the day too, it’s late in europe and most people in the the US time zones have left work already so it’s a little dead in here. | 2018-01-22T20:38:28.000800 | Zack | pythondev_help_Zack_2018-01-22T20:38:28.000800 | 1,516,653,508.0008 | 30,630 |
pythondev | help | im from EU too :stuck_out_tongue: | 2018-01-22T20:38:43.000162 | Pennie | pythondev_help_Pennie_2018-01-22T20:38:43.000162 | 1,516,653,523.000162 | 30,631 |
pythondev | help | ha, yeah your brain is too fried for all of this too then. :stuck_out_tongue: | 2018-01-22T20:38:57.000116 | Zack | pythondev_help_Zack_2018-01-22T20:38:57.000116 | 1,516,653,537.000116 | 30,632 |
pythondev | help | yeah :stuck_out_tongue: | 2018-01-22T20:39:06.000320 | Pennie | pythondev_help_Pennie_2018-01-22T20:39:06.000320 | 1,516,653,546.00032 | 30,633 |
pythondev | help | but I need to finish it xD | 2018-01-22T20:39:13.000116 | Pennie | pythondev_help_Pennie_2018-01-22T20:39:13.000116 | 1,516,653,553.000116 | 30,634 |
pythondev | help | I am so close | 2018-01-22T20:39:32.000305 | Pennie | pythondev_help_Pennie_2018-01-22T20:39:32.000305 | 1,516,653,572.000305 | 30,635 |
pythondev | help | I know sometimes when I get stuck with these sorts of things sometimes it can help to ignore the python part and just sketch out the problem on a piece of paper or whiteboard | 2018-01-22T20:39:32.000525 | Zack | pythondev_help_Zack_2018-01-22T20:39:32.000525 | 1,516,653,572.000525 | 30,636 |
pythondev | help | the real issue isn’t python itself, it’s expressing the logic | 2018-01-22T20:39:43.000086 | Zack | pythondev_help_Zack_2018-01-22T20:39:43.000086 | 1,516,653,583.000086 | 30,637 |
pythondev | help | it is but it took me sometime to find how to get here cause the problem wasn't easy | 2018-01-22T20:40:26.000229 | Pennie | pythondev_help_Pennie_2018-01-22T20:40:26.000229 | 1,516,653,626.000229 | 30,638 |
pythondev | help | so I can put a while loop in for loop this wont create an infinite loop? last question after I leave you :smile: | 2018-01-22T20:41:07.000744 | Pennie | pythondev_help_Pennie_2018-01-22T20:41:07.000744 | 1,516,653,667.000744 | 30,639 |
pythondev | help | well, I don’t think that’s really what you need though | 2018-01-22T20:41:23.000115 | Zack | pythondev_help_Zack_2018-01-22T20:41:23.000115 | 1,516,653,683.000115 | 30,640 |
pythondev | help | let me look again real quick and see if I can come up with something | 2018-01-22T20:41:59.000052 | Zack | pythondev_help_Zack_2018-01-22T20:41:59.000052 | 1,516,653,719.000052 | 30,641 |
pythondev | help | don't worry I'll come back tomorrow | 2018-01-22T20:42:52.000182 | Pennie | pythondev_help_Pennie_2018-01-22T20:42:52.000182 | 1,516,653,772.000182 | 30,642 |
pythondev | help | :smile: | 2018-01-22T20:42:56.000510 | Pennie | pythondev_help_Pennie_2018-01-22T20:42:56.000510 | 1,516,653,776.00051 | 30,643 |
pythondev | help | we are both fried right now | 2018-01-22T20:43:04.000261 | Pennie | pythondev_help_Pennie_2018-01-22T20:43:04.000261 | 1,516,653,784.000261 | 30,644 |
pythondev | help | okay, yeah I should be around most of the day. | 2018-01-22T20:43:46.000017 | Zack | pythondev_help_Zack_2018-01-22T20:43:46.000017 | 1,516,653,826.000017 | 30,645 |
pythondev | help | okay well thanks a lot for your time you are contributing to science in a way :smile: | 2018-01-22T20:44:21.000540 | Pennie | pythondev_help_Pennie_2018-01-22T20:44:21.000540 | 1,516,653,861.00054 | 30,646 |
pythondev | help | for science! | 2018-01-22T20:45:16.000157 | Zack | pythondev_help_Zack_2018-01-22T20:45:16.000157 | 1,516,653,916.000157 | 30,647 |
pythondev | help | eheh | 2018-01-22T20:45:37.000213 | Pennie | pythondev_help_Pennie_2018-01-22T20:45:37.000213 | 1,516,653,937.000213 | 30,648 |
pythondev | help | I think I just solved it | 2018-01-22T20:45:42.000237 | Pennie | pythondev_help_Pennie_2018-01-22T20:45:42.000237 | 1,516,653,942.000237 | 30,649 |
pythondev | help | ```for i in range(240):
rn= randint(1, 2)
if df.loc[i,'SorD'] == 'D':
print('random_number = {}'.format(rn))
if rn == 1 and a < 3:
df.loc[i,'N'] = 13
df.loc[i,'Size'] = 24
df.loc[i,'Space'] = 13
a+=1
print('random_number = {}'.format(rn... | 2018-01-22T20:46:03.000237 | Pennie | pythondev_help_Pennie_2018-01-22T20:46:03.000237 | 1,516,653,963.000237 | 30,650 |
pythondev | help | I have what I wanted | 2018-01-22T20:46:07.000433 | Pennie | pythondev_help_Pennie_2018-01-22T20:46:07.000433 | 1,516,653,967.000433 | 30,651 |
pythondev | help | oh, nice, awesome! you might be able to combine the two loops, but if it does what you want I’d say that’s the most important thing | 2018-01-22T20:46:41.000425 | Zack | pythondev_help_Zack_2018-01-22T20:46:41.000425 | 1,516,654,001.000425 | 30,652 |
pythondev | help | maybe I'll be back :smile: | 2018-01-22T20:47:29.000244 | Pennie | pythondev_help_Pennie_2018-01-22T20:47:29.000244 | 1,516,654,049.000244 | 30,653 |
pythondev | help | for science | 2018-01-22T20:47:31.000249 | Pennie | pythondev_help_Pennie_2018-01-22T20:47:31.000249 | 1,516,654,051.000249 | 30,654 |
pythondev | help | good night ! | 2018-01-22T20:47:33.000250 | Pennie | pythondev_help_Pennie_2018-01-22T20:47:33.000250 | 1,516,654,053.00025 | 30,655 |
pythondev | help | thanks again | 2018-01-22T20:47:37.000305 | Pennie | pythondev_help_Pennie_2018-01-22T20:47:37.000305 | 1,516,654,057.000305 | 30,656 |
pythondev | help | np, night! | 2018-01-22T20:47:41.000227 | Zack | pythondev_help_Zack_2018-01-22T20:47:41.000227 | 1,516,654,061.000227 | 30,657 |
pythondev | help | :taco: <@Floy> <@Zack> <@Pennie> | 2018-01-22T20:55:11.000262 | Dominica | pythondev_help_Dominica_2018-01-22T20:55:11.000262 | 1,516,654,511.000262 | 30,658 |
pythondev | help | Thought that deserved some tacos. :slightly_smiling_face: | 2018-01-22T20:55:33.000135 | Dominica | pythondev_help_Dominica_2018-01-22T20:55:33.000135 | 1,516,654,533.000135 | 30,659 |
pythondev | help | taco taco taco | 2018-01-22T20:57:58.000426 | Zack | pythondev_help_Zack_2018-01-22T20:57:58.000426 | 1,516,654,678.000426 | 30,660 |
pythondev | help | I'm building web app using flask which displays cricket scores, all I managed to do till now is to display score that I collected from Cricbuzz library module into a bootstrap table using jinga2 html, how can I further improve my site with better UI design like real sports websites, your input will be help full, THanks... | 2018-01-23T03:54:06.000543 | Dani | pythondev_help_Dani_2018-01-23T03:54:06.000543 | 1,516,679,646.000543 | 30,661 |
pythondev | help | Learn basic CSS, JS and then some framework | 2018-01-23T03:55:17.000305 | Barney | pythondev_help_Barney_2018-01-23T03:55:17.000305 | 1,516,679,717.000305 | 30,662 |
pythondev | help | We have a <#C07EYDP25|webdev> channel that's focused on frontend side of things | 2018-01-23T03:55:42.000184 | Barney | pythondev_help_Barney_2018-01-23T03:55:42.000184 | 1,516,679,742.000184 | 30,663 |
pythondev | help | like which framework? | 2018-01-23T03:56:05.000303 | Dani | pythondev_help_Dani_2018-01-23T03:56:05.000303 | 1,516,679,765.000303 | 30,664 |
pythondev | help | I know little much of flask | 2018-01-23T03:56:56.000956 | Dani | pythondev_help_Dani_2018-01-23T03:56:56.000956 | 1,516,679,816.000956 | 30,665 |
pythondev | help | The most accessible for new devs will be Bootstrap I think. They recently released v4.0 | 2018-01-23T03:56:58.000968 | Barney | pythondev_help_Barney_2018-01-23T03:56:58.000968 | 1,516,679,818.000968 | 30,666 |
pythondev | help | it's a css framework | 2018-01-23T03:57:13.000693 | Barney | pythondev_help_Barney_2018-01-23T03:57:13.000693 | 1,516,679,833.000693 | 30,667 |
pythondev | help | I'm not a webdev at all, and I don't know much CSS, but I still feel more or less comfortable with Bootstrap | 2018-01-23T03:57:47.001066 | Barney | pythondev_help_Barney_2018-01-23T03:57:47.001066 | 1,516,679,867.001066 | 30,668 |
pythondev | help | Okay me too | 2018-01-23T03:58:02.000482 | Dani | pythondev_help_Dani_2018-01-23T03:58:02.000482 | 1,516,679,882.000482 | 30,669 |
pythondev | help | can you help, from where can I began? | 2018-01-23T03:58:17.000443 | Dani | pythondev_help_Dani_2018-01-23T03:58:17.000443 | 1,516,679,897.000443 | 30,670 |
pythondev | help | I think it's better to ask actual webdevs at <#C07EYDP25|webdev> :D | 2018-01-23T03:59:40.000098 | Barney | pythondev_help_Barney_2018-01-23T03:59:40.000098 | 1,516,679,980.000098 | 30,671 |
pythondev | help | @levop Ok thanks | 2018-01-23T04:00:07.000085 | Dani | pythondev_help_Dani_2018-01-23T04:00:07.000085 | 1,516,680,007.000085 | 30,672 |
pythondev | help | Hello :yum: | 2018-01-23T08:42:26.000657 | Pennie | pythondev_help_Pennie_2018-01-23T08:42:26.000657 | 1,516,696,946.000657 | 30,673 |
pythondev | help | Still did not succeed what I wanted to do :disappointed: | 2018-01-23T08:44:05.000544 | Pennie | pythondev_help_Pennie_2018-01-23T08:44:05.000544 | 1,516,697,045.000544 | 30,674 |
pythondev | help | any one know how to select current row in a while loop? | 2018-01-23T08:45:27.000008 | Pennie | pythondev_help_Pennie_2018-01-23T08:45:27.000008 | 1,516,697,127.000008 | 30,675 |
pythondev | help | Hey. Not sure I understand what you mean | 2018-01-23T08:46:01.000631 | Micki | pythondev_help_Micki_2018-01-23T08:46:01.000631 | 1,516,697,161.000631 | 30,676 |
pythondev | help | you have a data frame, right? | 2018-01-23T08:46:14.000529 | Floy | pythondev_help_Floy_2018-01-23T08:46:14.000529 | 1,516,697,174.000529 | 30,677 |
pythondev | help | you should have an index variable for row number | 2018-01-23T08:46:31.000028 | Floy | pythondev_help_Floy_2018-01-23T08:46:31.000028 | 1,516,697,191.000028 | 30,678 |
pythondev | help | which is incremented through the loop | 2018-01-23T08:46:40.000993 | Floy | pythondev_help_Floy_2018-01-23T08:46:40.000993 | 1,516,697,200.000993 | 30,679 |
pythondev | help | that’s your current row | 2018-01-23T08:46:45.000673 | Floy | pythondev_help_Floy_2018-01-23T08:46:45.000673 | 1,516,697,205.000673 | 30,680 |
pythondev | help | yeah I just did that | 2018-01-23T08:46:46.000103 | Pennie | pythondev_help_Pennie_2018-01-23T08:46:46.000103 | 1,516,697,206.000103 | 30,681 |
pythondev | help | i = 0 | 2018-01-23T08:46:47.000416 | Pennie | pythondev_help_Pennie_2018-01-23T08:46:47.000416 | 1,516,697,207.000416 | 30,682 |
pythondev | help | in the begginign | 2018-01-23T08:46:49.000710 | Pennie | pythondev_help_Pennie_2018-01-23T08:46:49.000710 | 1,516,697,209.00071 | 30,683 |
pythondev | help | so that’s your row | 2018-01-23T08:47:12.000104 | Floy | pythondev_help_Floy_2018-01-23T08:47:12.000104 | 1,516,697,232.000104 | 30,684 |
pythondev | help | but still got an infinite loop :confused: | 2018-01-23T08:47:24.000301 | Pennie | pythondev_help_Pennie_2018-01-23T08:47:24.000301 | 1,516,697,244.000301 | 30,685 |
pythondev | help | are you sure? | 2018-01-23T08:47:34.000882 | Floy | pythondev_help_Floy_2018-01-23T08:47:34.000882 | 1,516,697,254.000882 | 30,686 |
pythondev | help | how many rows in this dataset? | 2018-01-23T08:47:39.000882 | Floy | pythondev_help_Floy_2018-01-23T08:47:39.000882 | 1,516,697,259.000882 | 30,687 |
pythondev | help | 240 | 2018-01-23T08:47:59.000180 | Pennie | pythondev_help_Pennie_2018-01-23T08:47:59.000180 | 1,516,697,279.00018 | 30,688 |
pythondev | help | remembering back to what you had, I think that’s because you were basically ending on a specific condition that two values were both something | 2018-01-23T08:48:02.000630 | Zack | pythondev_help_Zack_2018-01-23T08:48:02.000630 | 1,516,697,282.00063 | 30,689 |
pythondev | help | but you incremented both values randomly and separately | 2018-01-23T08:48:17.000734 | Zack | pythondev_help_Zack_2018-01-23T08:48:17.000734 | 1,516,697,297.000734 | 30,690 |
pythondev | help | Want me to upload the code? | 2018-01-23T08:48:20.000075 | Pennie | pythondev_help_Pennie_2018-01-23T08:48:20.000075 | 1,516,697,300.000075 | 30,691 |
pythondev | help | sure | 2018-01-23T08:48:23.000541 | Zack | pythondev_help_Zack_2018-01-23T08:48:23.000541 | 1,516,697,303.000541 | 30,692 |
pythondev | help | ok let me do that | 2018-01-23T08:48:28.000167 | Pennie | pythondev_help_Pennie_2018-01-23T08:48:28.000167 | 1,516,697,308.000167 | 30,693 |
pythondev | help | any recommandation for a website? | 2018-01-23T08:48:34.000331 | Pennie | pythondev_help_Pennie_2018-01-23T08:48:34.000331 | 1,516,697,314.000331 | 30,694 |
pythondev | help | just the + button here like you did yesterday | 2018-01-23T08:48:44.000643 | Zack | pythondev_help_Zack_2018-01-23T08:48:44.000643 | 1,516,697,324.000643 | 30,695 |
pythondev | help | code is to long | 2018-01-23T08:49:04.001030 | Pennie | pythondev_help_Pennie_2018-01-23T08:49:04.001030 | 1,516,697,344.00103 | 30,696 |
pythondev | help | it’s probably good to isolate it all to a short snippet where you know what all the values are | 2018-01-23T08:49:46.000479 | Zack | pythondev_help_Zack_2018-01-23T08:49:46.000479 | 1,516,697,386.000479 | 30,697 |
pythondev | help | so the logic is that I have a dataframe with S and D | 2018-01-23T08:50:33.000354 | Pennie | pythondev_help_Pennie_2018-01-23T08:50:33.000354 | 1,516,697,433.000354 | 30,698 |
pythondev | help | and I want to fill randomly the rows with the numbers you see here 13 24 24 etc | 2018-01-23T08:50:55.000538 | Pennie | pythondev_help_Pennie_2018-01-23T08:50:55.000538 | 1,516,697,455.000538 | 30,699 |
pythondev | help | but these numbers can only appear twice in the whole dataframe | 2018-01-23T08:51:11.001054 | Pennie | pythondev_help_Pennie_2018-01-23T08:51:11.001054 | 1,516,697,471.001054 | 30,700 |
pythondev | help | you are never iterating over your dataframe, i stays at 0 the whole time | 2018-01-23T08:52:19.000554 | Zack | pythondev_help_Zack_2018-01-23T08:52:19.000554 | 1,516,697,539.000554 | 30,701 |
pythondev | help | what role does `total` play in this? | 2018-01-23T08:52:40.000217 | Zack | pythondev_help_Zack_2018-01-23T08:52:40.000217 | 1,516,697,560.000217 | 30,702 |
pythondev | help | sorry I missed some code let me edit it | 2018-01-23T08:53:04.000257 | Pennie | pythondev_help_Pennie_2018-01-23T08:53:04.000257 | 1,516,697,584.000257 | 30,703 |
pythondev | help | so I made total cause I did not want to write if a ==2 and B == 2 and c == 2 untill x then break | 2018-01-23T08:54:15.001012 | Pennie | pythondev_help_Pennie_2018-01-23T08:54:15.001012 | 1,516,697,655.001012 | 30,704 |
pythondev | help | so instead I increment total every time the if condition is played | 2018-01-23T08:54:38.000489 | Pennie | pythondev_help_Pennie_2018-01-23T08:54:38.000489 | 1,516,697,678.000489 | 30,705 |
pythondev | help | total must be 48 cause the 24 conditions must appear twice | 2018-01-23T08:54:56.000545 | Pennie | pythondev_help_Pennie_2018-01-23T08:54:56.000545 | 1,516,697,696.000545 | 30,706 |
pythondev | help | and each if condition can only be played twice (that's why I put a +=1 b+=1 | 2018-01-23T08:55:19.000692 | Pennie | pythondev_help_Pennie_2018-01-23T08:55:19.000692 | 1,516,697,719.000692 | 30,707 |
pythondev | help | etc | 2018-01-23T08:55:20.000121 | Pennie | pythondev_help_Pennie_2018-01-23T08:55:20.000121 | 1,516,697,720.000121 | 30,708 |
pythondev | help | honestly - given this is a sort of fixed space, and given how complicated this logic is, can’t you just hardcode the values, and maybe shuffle them or something ensure a randomized order if that’s necessary? | 2018-01-23T08:55:50.000592 | Zack | pythondev_help_Zack_2018-01-23T08:55:50.000592 | 1,516,697,750.000592 | 30,709 |
pythondev | help | I’m not too familiar with Pandas or what you are trying to do here, but this feels like the wrong approach | 2018-01-23T08:56:13.000154 | Zack | pythondev_help_Zack_2018-01-23T08:56:13.000154 | 1,516,697,773.000154 | 30,710 |
pythondev | help | Hardcode? | 2018-01-23T08:56:47.000431 | Pennie | pythondev_help_Pennie_2018-01-23T08:56:47.000431 | 1,516,697,807.000431 | 30,711 |
pythondev | help | I don’t think hardcoding things is usually the right approach, and maybe someone more familiar with pandas has a better idea, but I think it would cause you a lot less heartache to just hardcode it. | 2018-01-23T08:56:58.000084 | Zack | pythondev_help_Zack_2018-01-23T08:56:58.000084 | 1,516,697,818.000084 | 30,712 |
pythondev | help | like just go through and write each row out by hand. the values are fixed, seemingly | 2018-01-23T08:57:34.000723 | Zack | pythondev_help_Zack_2018-01-23T08:57:34.000723 | 1,516,697,854.000723 | 30,713 |
pythondev | help | it seems it’s just the row order you might want different, right? | 2018-01-23T08:57:44.000477 | Zack | pythondev_help_Zack_2018-01-23T08:57:44.000477 | 1,516,697,864.000477 | 30,714 |
pythondev | help | yes but I have a script for the row order already | 2018-01-23T08:58:05.000193 | Pennie | pythondev_help_Pennie_2018-01-23T08:58:05.000193 | 1,516,697,885.000193 | 30,715 |
pythondev | help | because every D can only appear if minimum two S appeared | 2018-01-23T08:58:32.000189 | Pennie | pythondev_help_Pennie_2018-01-23T08:58:32.000189 | 1,516,697,912.000189 | 30,716 |
pythondev | help | there are 192 s in total and 48 D | 2018-01-23T08:58:51.000345 | Pennie | pythondev_help_Pennie_2018-01-23T08:58:51.000345 | 1,516,697,931.000345 | 30,717 |
pythondev | help | this is what I first create with the script | 2018-01-23T08:59:39.000004 | Pennie | pythondev_help_Pennie_2018-01-23T08:59:39.000004 | 1,516,697,979.000004 | 30,718 |
pythondev | help | every time I launch the script it is a different order as every participant must have different order | 2018-01-23T09:00:03.000699 | Pennie | pythondev_help_Pennie_2018-01-23T09:00:03.000699 | 1,516,698,003.000699 | 30,719 |
pythondev | help | does the order being randomly initialized actual matter? | 2018-01-23T09:00:05.000831 | Zack | pythondev_help_Zack_2018-01-23T09:00:05.000831 | 1,516,698,005.000831 | 30,720 |
pythondev | help | as long as it is different from every participant | 2018-01-23T09:00:32.000128 | Pennie | pythondev_help_Pennie_2018-01-23T09:00:32.000128 | 1,516,698,032.000128 | 30,721 |
pythondev | help | and at least 2 s before 1 d | 2018-01-23T09:00:38.000616 | Pennie | pythondev_help_Pennie_2018-01-23T09:00:38.000616 | 1,516,698,038.000616 | 30,722 |
pythondev | help | no | 2018-01-23T09:00:40.000368 | Pennie | pythondev_help_Pennie_2018-01-23T09:00:40.000368 | 1,516,698,040.000368 | 30,723 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.