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 | :facepalm: | 2017-10-23T12:26:13.000008 | Meg | pythondev_help_Meg_2017-10-23T12:26:13.000008 | 1,508,761,573.000008 | 97,803 |
pythondev | help | Well, they attempted this weeks ago... and only 30% of everything copied. | 2017-10-23T12:26:16.000349 | Rikki | pythondev_help_Rikki_2017-10-23T12:26:16.000349 | 1,508,761,576.000349 | 97,804 |
pythondev | help | so I had to compare what was in Azure against what was on disk and make a new manifest to copy | 2017-10-23T12:26:47.000027 | Rikki | pythondev_help_Rikki_2017-10-23T12:26:47.000027 | 1,508,761,607.000027 | 97,805 |
pythondev | help | you can see how much fun this is :slightly_smiling_face: | 2017-10-23T12:26:56.000681 | Rikki | pythondev_help_Rikki_2017-10-23T12:26:56.000681 | 1,508,761,616.000681 | 97,806 |
pythondev | help | yeah, I can | 2017-10-23T12:27:14.000307 | Meg | pythondev_help_Meg_2017-10-23T12:27:14.000307 | 1,508,761,634.000307 | 97,807 |
pythondev | help | well, you probably could do something with shutils and multi-processing | 2017-10-23T12:27:26.000060 | Meg | pythondev_help_Meg_2017-10-23T12:27:26.000060 | 1,508,761,646.00006 | 97,808 |
pythondev | help | but in all in all, using something like deltacopy or something similar would be better for you | 2017-10-23T12:27:55.000430 | Meg | pythondev_help_Meg_2017-10-23T12:27:55.000430 | 1,508,761,675.00043 | 97,809 |
pythondev | help | no development time required for you | 2017-10-23T12:28:05.000458 | Meg | pythondev_help_Meg_2017-10-23T12:28:05.000458 | 1,508,761,685.000458 | 97,810 |
pythondev | help | and a production-ready application with years worth of work and bugfixes | 2017-10-23T12:28:23.000394 | Meg | pythondev_help_Meg_2017-10-23T12:28:23.000394 | 1,508,761,703.000394 | 97,811 |
pythondev | help | Yeah, but it doesn't address the cherry picking of files though which stinks otherwise, this would be a great solution | 2017-10-23T12:28:48.000491 | Rikki | pythondev_help_Rikki_2017-10-23T12:28:48.000491 | 1,508,761,728.000491 | 97,812 |
pythondev | help | why do you need to cherry pick? | 2017-10-23T12:28:58.000204 | Meg | pythondev_help_Meg_2017-10-23T12:28:58.000204 | 1,508,761,738.000204 | 97,813 |
pythondev | help | why not restart from zero | 2017-10-23T12:29:03.000375 | Meg | pythondev_help_Meg_2017-10-23T12:29:03.000375 | 1,508,761,743.000375 | 97,814 |
pythondev | help | because those files are already in azure | 2017-10-23T12:29:10.000377 | Rikki | pythondev_help_Rikki_2017-10-23T12:29:10.000377 | 1,508,761,750.000377 | 97,815 |
pythondev | help | everything is going to azure from an on-prem solution | 2017-10-23T12:29:31.000667 | Rikki | pythondev_help_Rikki_2017-10-23T12:29:31.000667 | 1,508,761,771.000667 | 97,816 |
pythondev | help | I’m still not sure | 2017-10-23T12:30:01.000404 | Meg | pythondev_help_Meg_2017-10-23T12:30:01.000404 | 1,508,761,801.000404 | 97,817 |
pythondev | help | you want to copy everything from azure to local | 2017-10-23T12:30:09.000604 | Meg | pythondev_help_Meg_2017-10-23T12:30:09.000604 | 1,508,761,809.000604 | 97,818 |
pythondev | help | last time this was tried, about 30% of the transfer succeeded | 2017-10-23T12:30:31.000048 | Meg | pythondev_help_Meg_2017-10-23T12:30:31.000048 | 1,508,761,831.000048 | 97,819 |
pythondev | help | out of 100 files in nested folders, i may only need 20 as the other 80 already exist in azure. | 2017-10-23T12:30:31.000378 | Rikki | pythondev_help_Rikki_2017-10-23T12:30:31.000378 | 1,508,761,831.000378 | 97,820 |
pythondev | help | unless I'm misunderstanding your meaning gisdev, deltacopy will do cherry picking | 2017-10-23T12:30:45.000584 | Sirena | pythondev_help_Sirena_2017-10-23T12:30:45.000584 | 1,508,761,845.000584 | 97,821 |
pythondev | help | we have to ship these hard drives to microsoft to load | 2017-10-23T12:30:58.000123 | Rikki | pythondev_help_Rikki_2017-10-23T12:30:58.000123 | 1,508,761,858.000123 | 97,822 |
pythondev | help | the drives were wiped when they were returned | 2017-10-23T12:31:16.000042 | Rikki | pythondev_help_Rikki_2017-10-23T12:31:16.000042 | 1,508,761,876.000042 | 97,823 |
pythondev | help | sorry if I wasn’t able to help much | 2017-10-23T12:52:47.000253 | Meg | pythondev_help_Meg_2017-10-23T12:52:47.000253 | 1,508,763,167.000253 | 97,824 |
pythondev | help | hope you can figure something out with your internal company policies | 2017-10-23T12:53:09.000490 | Meg | pythondev_help_Meg_2017-10-23T12:53:09.000490 | 1,508,763,189.00049 | 97,825 |
pythondev | help | Let's simplify it... How would you assign a drive letter to a worker pool of 2 :slightly_smiling_face: | 2017-10-23T12:59:13.000698 | Rikki | pythondev_help_Rikki_2017-10-23T12:59:13.000698 | 1,508,763,553.000698 | 97,826 |
pythondev | help | so that process 1 gets drive X and process 2 gets drive Y | 2017-10-23T12:59:30.000185 | Rikki | pythondev_help_Rikki_2017-10-23T12:59:30.000185 | 1,508,763,570.000185 | 97,827 |
pythondev | help | i've a dictionary that has index as key,
```
{1: 2617, 2: 5053, 3: 5474, 4: 5732, 5: 1800, 6: 5545, 7: 8742, 8: 2996, 9: 2619, 10: 9779, 11: 4373, 12: 4184, 13: 5092, 14: 5761, 15: 3261, 16: 6067, 17: 2847, 18: 9954, 19: 3555, 20: 2327, 21: 61, 22: 9201, 23: 6110, 24: 5689, 25: 685, 26: 6498, 27: 7594, 28: 1021, 29: 9893, 30: 3821, 31: 5686, 32: 7295, 33: 5934, 34: 7771, 35: 6147, 36: 5686, 37: 7654, 38: 7854, 39: 134, 40: 3911, 41: 2724, 42: 350, 43: 4975, 44: 2117, 45: 8334, 46: 5366}
```
and list of key
```
[42, 22, 3, 17, 31, 5, 2, 24, 45, 36, 6, 16, 26, 18, 1, 20, 43, 39, 30, 9, 34]
```
the list needs to be sorted in descending order based on the value present in the dict
which i was able to do.
```
sorted(curr_co, key=lambda value: node_value_dict[value], reverse=True)
```
but in case of equal values, i need to sort it according to their indices in ascending order
currently i'm doing it by looping over the sorted list and then comparing value again side by side maintaining two pointers.
Can you please suggest some elegant way of doing this. | 2017-10-23T13:39:24.000091 | Marquita | pythondev_help_Marquita_2017-10-23T13:39:24.000091 | 1,508,765,964.000091 | 97,828 |
pythondev | help | <@Marquita> I'm under the impression that sorted is stable and that you could first sort reversed on value then on key achieving both desired outcomes | 2017-10-23T14:14:52.000161 | Seema | pythondev_help_Seema_2017-10-23T14:14:52.000161 | 1,508,768,092.000161 | 97,829 |
pythondev | help | <@Seema> You are correct about sorted being stable - <https://docs.python.org/3/howto/sorting.html#sort-stability-and-complex-sorts> | 2017-10-23T14:15:46.000375 | Antionette | pythondev_help_Antionette_2017-10-23T14:15:46.000375 | 1,508,768,146.000375 | 97,830 |
pythondev | help | That documentation also goes on to use that fact to give an example of sorting based on multiple attributes | 2017-10-23T14:17:14.000527 | Antionette | pythondev_help_Antionette_2017-10-23T14:17:14.000527 | 1,508,768,234.000527 | 97,831 |
pythondev | help | I was there recently and I ended up trying all four variations and still was barely confident I understood how it was doing it. I was doing list of tuples just like the example. Eventually, though, success. :slightly_smiling_face: | 2017-10-23T14:18:52.000138 | Seema | pythondev_help_Seema_2017-10-23T14:18:52.000138 | 1,508,768,332.000138 | 97,832 |
pythondev | help | Yeah its definitely an interesting/unique way of looking at multiple sorting params | 2017-10-23T14:20:13.000161 | Antionette | pythondev_help_Antionette_2017-10-23T14:20:13.000161 | 1,508,768,413.000161 | 97,833 |
pythondev | help | New to Python. Wanted to know if anyone knows of good beginner to advanced programs I can play around with. I found some but though to ask here. Any help/links are much appreciated. | 2017-10-23T14:20:58.000138 | Jamaal | pythondev_help_Jamaal_2017-10-23T14:20:58.000138 | 1,508,768,458.000138 | 97,834 |
pythondev | help | Arsenii, do you have a thing you would like to try or some sort of project or program you want to make? | 2017-10-23T14:22:00.000553 | Seema | pythondev_help_Seema_2017-10-23T14:22:00.000553 | 1,508,768,520.000553 | 97,835 |
pythondev | help | <@Jamaal>, as <@Seema> is suggesting, project based learning is one of the better known approaches to learning a language. While working on a project, it is then useful to see how others approached similar problems and understand the differences in design | 2017-10-23T14:24:04.000297 | Lory | pythondev_help_Lory_2017-10-23T14:24:04.000297 | 1,508,768,644.000297 | 97,836 |
pythondev | help | I took some time off between jobs to learn the language from scratch. I am currently using Python the Hard Way tutorials and wanted to supplement with some coding exercises. Here is what I found to start: <https://knightlab.northwestern.edu/2014/06/05/five-mini-programming-projects-for-the-python-beginner/> | 2017-10-23T14:26:54.000019 | Jamaal | pythondev_help_Jamaal_2017-10-23T14:26:54.000019 | 1,508,768,814.000019 | 97,837 |
pythondev | help | And those are all great for learning the semantics of the language | 2017-10-23T14:27:35.000396 | Lory | pythondev_help_Lory_2017-10-23T14:27:35.000396 | 1,508,768,855.000396 | 97,838 |
pythondev | help | ideally I would like to start small so I can understand the basics and build out on that foundation. | 2017-10-23T14:27:39.000190 | Jamaal | pythondev_help_Jamaal_2017-10-23T14:27:39.000190 | 1,508,768,859.00019 | 97,839 |
pythondev | help | Do you have specific goals in mind for what larger projects you are trying to take on? | 2017-10-23T14:27:49.000058 | Lory | pythondev_help_Lory_2017-10-23T14:27:49.000058 | 1,508,768,869.000058 | 97,840 |
pythondev | help | :slightly_smiling_face: yes I would like to build a A.I. | 2017-10-23T14:28:04.000495 | Jamaal | pythondev_help_Jamaal_2017-10-23T14:28:04.000495 | 1,508,768,884.000495 | 97,841 |
pythondev | help | haha, I too would like to get into that. It's some pretty thick stuff though | 2017-10-23T14:28:25.000245 | Lory | pythondev_help_Lory_2017-10-23T14:28:25.000245 | 1,508,768,905.000245 | 97,842 |
pythondev | help | I know | 2017-10-23T14:28:32.000197 | Jamaal | pythondev_help_Jamaal_2017-10-23T14:28:32.000197 | 1,508,768,912.000197 | 97,843 |
pythondev | help | but with open source and a great community I think it is possible | 2017-10-23T14:28:47.000199 | Jamaal | pythondev_help_Jamaal_2017-10-23T14:28:47.000199 | 1,508,768,927.000199 | 97,844 |
pythondev | help | how much programming have you done? | 2017-10-23T14:28:53.000238 | Lory | pythondev_help_Lory_2017-10-23T14:28:53.000238 | 1,508,768,933.000238 | 97,845 |
pythondev | help | Nothing is impossible if you put the work in | 2017-10-23T14:29:00.000405 | Lory | pythondev_help_Lory_2017-10-23T14:29:00.000405 | 1,508,768,940.000405 | 97,846 |
pythondev | help | not much | 2017-10-23T14:29:01.000152 | Jamaal | pythondev_help_Jamaal_2017-10-23T14:29:01.000152 | 1,508,768,941.000152 | 97,847 |
pythondev | help | :slightly_smiling_face: | 2017-10-23T14:29:04.000107 | Jamaal | pythondev_help_Jamaal_2017-10-23T14:29:04.000107 | 1,508,768,944.000107 | 97,848 |
pythondev | help | yes | 2017-10-23T14:29:05.000382 | Jamaal | pythondev_help_Jamaal_2017-10-23T14:29:05.000382 | 1,508,768,945.000382 | 97,849 |
pythondev | help | I would suggest the No Starch Press books for getting started, they helped me a lot when I was getting going just 2 or 3 years ago | 2017-10-23T14:29:39.000816 | Lory | pythondev_help_Lory_2017-10-23T14:29:39.000816 | 1,508,768,979.000816 | 97,850 |
pythondev | help | <https://www.nostarch.com/catalog/python> anything that looks interesting in here | 2017-10-23T14:29:56.000180 | Lory | pythondev_help_Lory_2017-10-23T14:29:56.000180 | 1,508,768,996.00018 | 97,851 |
pythondev | help | great thank you <@Lory> | 2017-10-23T14:29:58.000180 | Jamaal | pythondev_help_Jamaal_2017-10-23T14:29:58.000180 | 1,508,768,998.00018 | 97,852 |
pythondev | help | kinda on the topic of building an AI and being a beginner: <https://www.youtube.com/watch?v=rIofV14c0tc> | 2017-10-23T14:30:03.000198 | Johana | pythondev_help_Johana_2017-10-23T14:30:03.000198 | 1,508,769,003.000198 | 97,853 |
pythondev | help | you can find free pdf's of them online | 2017-10-23T14:30:05.000018 | Lory | pythondev_help_Lory_2017-10-23T14:30:05.000018 | 1,508,769,005.000018 | 97,854 |
pythondev | help | I was just about to say I know of a good place for free pdfs | 2017-10-23T14:30:28.000178 | Jamaal | pythondev_help_Jamaal_2017-10-23T14:30:28.000178 | 1,508,769,028.000178 | 97,855 |
pythondev | help | the above video is not only for data scientist. the presenter talks about hacking yourself into a community in general. | 2017-10-23T14:30:29.000468 | Johana | pythondev_help_Johana_2017-10-23T14:30:29.000468 | 1,508,769,029.000468 | 97,856 |
pythondev | help | it is very interesting. | 2017-10-23T14:30:32.000191 | Johana | pythondev_help_Johana_2017-10-23T14:30:32.000191 | 1,508,769,032.000191 | 97,857 |
pythondev | help | thank you <@Johana> | 2017-10-23T14:30:47.000021 | Jamaal | pythondev_help_Jamaal_2017-10-23T14:30:47.000021 | 1,508,769,047.000021 | 97,858 |
pythondev | help | circumventing the usual steps of getting a degree, etc. | 2017-10-23T14:30:49.000667 | Johana | pythondev_help_Johana_2017-10-23T14:30:49.000667 | 1,508,769,049.000667 | 97,859 |
pythondev | help | I'm not a big fan of that style (the five mini-programs one), it's very procedural. Getting into the functions is where the joy is at imho. Have you seen <https://py.checkio.org/> ? The first exercise is poorly lableled elementary and it is unfortunately the requirement to get everything else unlocked, but it is a great place to learn more functional programming. If you go ca-razy on it, they hope to leverage it into a career via <http://hired.com|hired.com> | 2017-10-23T14:30:52.000242 | Seema | pythondev_help_Seema_2017-10-23T14:30:52.000242 | 1,508,769,052.000242 | 97,860 |
pythondev | help | i think they need to adjust their meta tags. | 2017-10-23T14:31:25.000313 | Johana | pythondev_help_Johana_2017-10-23T14:31:25.000313 | 1,508,769,085.000313 | 97,861 |
pythondev | help | part of the reason I want to understand more is we have a data science arm in my start up that I want to understand more. | 2017-10-23T14:31:31.000494 | Jamaal | pythondev_help_Jamaal_2017-10-23T14:31:31.000494 | 1,508,769,091.000494 | 97,862 |
pythondev | help | and help out | 2017-10-23T14:31:35.000414 | Jamaal | pythondev_help_Jamaal_2017-10-23T14:31:35.000414 | 1,508,769,095.000414 | 97,863 |
pythondev | help | <@Jamaal> You'll still want to pick a project/goal, ML is pretty broad, it's a technique more than a goal, so you'll want to do something you are interested in. | 2017-10-23T14:31:38.000429 | Mallie | pythondev_help_Mallie_2017-10-23T14:31:38.000429 | 1,508,769,098.000429 | 97,864 |
pythondev | help | `Checkio is a code game coders` doesn’t make sense | 2017-10-23T14:31:48.000642 | Johana | pythondev_help_Johana_2017-10-23T14:31:48.000642 | 1,508,769,108.000642 | 97,865 |
pythondev | help | <@Mallie> <http://daily.jobs|daily.jobs> | 2017-10-23T14:32:06.000337 | Jamaal | pythondev_help_Jamaal_2017-10-23T14:32:06.000337 | 1,508,769,126.000337 | 97,866 |
pythondev | help | Also, The Coding Rainbow on youtube has a couple videos on developing an AI through JavaScript, the concepts can be easily ported to a python code base though. He's kind of a weird dude and doesn't always use the best practices. BUT he does a good job of explaining conceptually what's going on <https://www.youtube.com/watch?v=XJ7HLz9VYz0&list=PLRqwX-V7Uu6aCibgK1PTWWu9by6XFdCfh> | 2017-10-23T14:32:08.000699 | Lory | pythondev_help_Lory_2017-10-23T14:32:08.000699 | 1,508,769,128.000699 | 97,867 |
pythondev | help | The Coding Train*** I forgot he changed his name | 2017-10-23T14:32:22.000350 | Lory | pythondev_help_Lory_2017-10-23T14:32:22.000350 | 1,508,769,142.00035 | 97,868 |
pythondev | help | If any of those provide nice data to use that is a big plus | 2017-10-23T14:32:41.000262 | Mallie | pythondev_help_Mallie_2017-10-23T14:32:41.000262 | 1,508,769,161.000262 | 97,869 |
pythondev | help | If you are just using it for learning sake | 2017-10-23T14:32:52.000710 | Mallie | pythondev_help_Mallie_2017-10-23T14:32:52.000710 | 1,508,769,172.00071 | 97,870 |
pythondev | help | <@Mallie> we are in the process of getting data | 2017-10-23T14:33:05.000488 | Jamaal | pythondev_help_Jamaal_2017-10-23T14:33:05.000488 | 1,508,769,185.000488 | 97,871 |
pythondev | help | so it's a good time to learn | 2017-10-23T14:33:12.000365 | Jamaal | pythondev_help_Jamaal_2017-10-23T14:33:12.000365 | 1,508,769,192.000365 | 97,872 |
pythondev | help | if data science is interesting, I suggest taking a csv file and trying to manipulate it, maybe pull down a favorite sport or some geeky data about something you like and see if you can do some 5 number summary on it, see if you can order it, see if you can create new data, etc | 2017-10-23T14:33:21.000210 | Seema | pythondev_help_Seema_2017-10-23T14:33:21.000210 | 1,508,769,201.00021 | 97,873 |
pythondev | help | so are we touting coding challenges as a way to learn programming faster or something? | 2017-10-23T14:33:50.000580 | Johana | pythondev_help_Johana_2017-10-23T14:33:50.000580 | 1,508,769,230.00058 | 97,874 |
pythondev | help | i don’t think challenges have helped me learn a language as much as getting practice using concepts I already know and learning to use them in new ways. | 2017-10-23T14:34:20.000391 | Johana | pythondev_help_Johana_2017-10-23T14:34:20.000391 | 1,508,769,260.000391 | 97,875 |
pythondev | help | yes to supplement <@Johana> | 2017-10-23T14:34:34.000484 | Jamaal | pythondev_help_Jamaal_2017-10-23T14:34:34.000484 | 1,508,769,274.000484 | 97,876 |
pythondev | help | k | 2017-10-23T14:34:38.000018 | Johana | pythondev_help_Johana_2017-10-23T14:34:38.000018 | 1,508,769,278.000018 | 97,877 |
pythondev | help | just making sure. | 2017-10-23T14:34:41.000088 | Johana | pythondev_help_Johana_2017-10-23T14:34:41.000088 | 1,508,769,281.000088 | 97,878 |
pythondev | help | Depends, is your goal getting a job or being successful in that job? :smile: | 2017-10-23T14:34:44.000209 | Mallie | pythondev_help_Mallie_2017-10-23T14:34:44.000209 | 1,508,769,284.000209 | 97,879 |
pythondev | help | agreed, but there's a step before that where being able to even perform the basics is difficult | 2017-10-23T14:34:47.000245 | Seema | pythondev_help_Seema_2017-10-23T14:34:47.000245 | 1,508,769,287.000245 | 97,880 |
pythondev | help | both <@Mallie> | 2017-10-23T14:34:56.000254 | Jamaal | pythondev_help_Jamaal_2017-10-23T14:34:56.000254 | 1,508,769,296.000254 | 97,881 |
pythondev | help | Well challenges are basically interview practice, real projects are growth/experience, just keep that in mind | 2017-10-23T14:35:31.000298 | Mallie | pythondev_help_Mallie_2017-10-23T14:35:31.000298 | 1,508,769,331.000298 | 97,882 |
pythondev | help | by the way thank you guys for being so open about it | 2017-10-23T14:35:32.000025 | Jamaal | pythondev_help_Jamaal_2017-10-23T14:35:32.000025 | 1,508,769,332.000025 | 97,883 |
pythondev | help | yeah, I think there is a little difficulty getting started when you don't know what you don't know. helps to set some intermediate goals by having a project to work towards | 2017-10-23T14:35:37.000012 | Sirena | pythondev_help_Sirena_2017-10-23T14:35:37.000012 | 1,508,769,337.000012 | 97,884 |
pythondev | help | I will thanks <@Mallie> | 2017-10-23T14:35:46.000231 | Jamaal | pythondev_help_Jamaal_2017-10-23T14:35:46.000231 | 1,508,769,346.000231 | 97,885 |
pythondev | help | whether they are 'coding challenges' or something else | 2017-10-23T14:36:07.000409 | Sirena | pythondev_help_Sirena_2017-10-23T14:36:07.000409 | 1,508,769,367.000409 | 97,886 |
pythondev | help | That was not to imply one is not important btw, that's just kinda the reality of being able to do thing off-the-cuff/on-demand and broader picture | 2017-10-23T14:36:19.000355 | Mallie | pythondev_help_Mallie_2017-10-23T14:36:19.000355 | 1,508,769,379.000355 | 97,887 |
pythondev | help | You'll certainly get asked about and be expected to describe projects, but likely not re-design it on the fly (most of the time :wink: ) | 2017-10-23T14:36:46.000321 | Mallie | pythondev_help_Mallie_2017-10-23T14:36:46.000321 | 1,508,769,406.000321 | 97,888 |
pythondev | help | :slightly_smiling_face: thanks | 2017-10-23T14:37:25.000268 | Jamaal | pythondev_help_Jamaal_2017-10-23T14:37:25.000268 | 1,508,769,445.000268 | 97,889 |
pythondev | help | arsenii, much of data science is munging data, being able to find, replace, filter, transform data is a great tool to have if that's your interest. | 2017-10-23T14:37:50.000488 | Seema | pythondev_help_Seema_2017-10-23T14:37:50.000488 | 1,508,769,470.000488 | 97,890 |
pythondev | help | yes | 2017-10-23T14:38:58.000393 | Jamaal | pythondev_help_Jamaal_2017-10-23T14:38:58.000393 | 1,508,769,538.000393 | 97,891 |
pythondev | help | it is | 2017-10-23T14:39:00.000132 | Jamaal | pythondev_help_Jamaal_2017-10-23T14:39:00.000132 | 1,508,769,540.000132 | 97,892 |
pythondev | help | and understanding it as well | 2017-10-23T14:39:05.000596 | Jamaal | pythondev_help_Jamaal_2017-10-23T14:39:05.000596 | 1,508,769,545.000596 | 97,893 |
pythondev | help | essentially ETL | 2017-10-23T14:39:13.000195 | Johana | pythondev_help_Johana_2017-10-23T14:39:13.000195 | 1,508,769,553.000195 | 97,894 |
pythondev | help | yes <@Johana> | 2017-10-23T14:39:22.000479 | Jamaal | pythondev_help_Jamaal_2017-10-23T14:39:22.000479 | 1,508,769,562.000479 | 97,895 |
pythondev | help | brb food | 2017-10-23T14:39:25.000680 | Jamaal | pythondev_help_Jamaal_2017-10-23T14:39:25.000680 | 1,508,769,565.00068 | 97,896 |
pythondev | help | Like this? | 2017-10-23T14:47:19.000405 | Seema | pythondev_help_Seema_2017-10-23T14:47:19.000405 | 1,508,770,039.000405 | 97,897 |
pythondev | help | ```from operator import itemgetter
curr = {1: 2617, 2: 5053, 3: 5474, 4: 5732, 5: 1800, 6: 5545, 7: 8742, 8: 2996, 9: 2619, 10: 9779, 11: 4373, 12: 4184, 13: 5092, 14: 5761, 15: 3261, 16: 6067, 17: 2847, 18: 9954, 19: 3555, 20: 2327, 21: 61, 22: 9201, 23: 6110, 24: 5689, 25: 685, 26: 6498, 27: 7594, 28: 1021, 29: 9893, 30: 3821, 31: 5686, 32: 7295, 33: 5934, 34: 7771, 35: 6147, 36: 5686, 37: 7654, 38: 7854, 39: 134, 40: 3911, 41: 2724, 42: 350, 43: 4975, 44: 2117, 45: 8334, 46: 5366}
curr_co = list(curr.items())
curr_co.sort(key=itemgetter(0)) # you said descending
curr_co.sort(key=itemgetter(1), reverse=True)
print(curr_co)```
```[(18, 9954), (29, 9893), (10, 9779), (22, 9201), (7, 8742), (45, 8334), (38, 7854), (34, 7771), (37, 7654), (27, 7594), (32, 7295), (26, 6498), (35, 6147), (23, 6110), (16, 6067), (33, 5934), (14, 5761), (4, 5732), (24, 5689), (31, 5686), (36, 5686), (6, 5545), (3, 5474), (46, 5366), (13, 5092), (2, 5053), (43, 4975), (11, 4373), (12, 4184), (40, 3911), (30, 3821), (19, 3555), (15, 3261), (8, 2996), (17, 2847), (41, 2724), (9, 2619), (1, 2617), (20, 2327), (44, 2117), (5, 1800), (28, 1021), (25, 685), (42, 350), (39, 134), (21, 61)]``` | 2017-10-23T14:47:33.000464 | Seema | pythondev_help_Seema_2017-10-23T14:47:33.000464 | 1,508,770,053.000464 | 97,898 |
pythondev | help | Hello. Anybody here who has GoCD knowledge? I would like to get some help | 2017-10-23T15:00:19.000044 | Derek | pythondev_help_Derek_2017-10-23T15:00:19.000044 | 1,508,770,819.000044 | 97,899 |
pythondev | help | assuming you’re talking about CI, check out <#C22DMH61M|devops> | 2017-10-23T15:04:39.000418 | Meg | pythondev_help_Meg_2017-10-23T15:04:39.000418 | 1,508,771,079.000418 | 97,900 |
pythondev | help | FYI, might help to be a little more verbose, since I hadn’t heard of that till I looked it up | 2017-10-23T15:05:03.000357 | Meg | pythondev_help_Meg_2017-10-23T15:05:03.000357 | 1,508,771,103.000357 | 97,901 |
pythondev | help | Thanks <@Meg> | 2017-10-23T15:05:27.000709 | Derek | pythondev_help_Derek_2017-10-23T15:05:27.000709 | 1,508,771,127.000709 | 97,902 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.