| Sep | OCT | Nov |
| 16 | ||
| 2019 | 2020 | 2021 |
COLLECTED BY
Collection: github.com
Python is a dynamically typed programming language designed by Guido van Rossum. Much like the programming language Ruby, Python was designed to be easily read by programmers. Because of its large following and many libraries, Python can be implemented and used to do anything from webpages to scientific research.
list(map(lambda i: torch.device('cuda:' + str(i)), gpus))
I'd propose to replace those by "regular" list comprehensions. So the above is equivalent to [torch.device('cuda:' + str(i)) for i in gpus]
This replacement can be automated via regexp replacement for (likely) almost all cases.
Reasoning: The nesting of parentheses and the inline
Read more
better-engineering
good first issue
triaged
Open
HttpCompressionMiddleware needs to be relfected in Scrapy stats.
trackref](https://docs.scrapy.org/en/latest/topi
Read more
enhancement
good first issue
Open
In [13]: mi = pd.MultiIndex.from_product([[1,2,3], list('abc'), pd.date_range('20200101', periods=2, tz='UTC')], names=['int', 'string', 'dt'])
You can already get .dtypes, but is slightly cumbersome. I would propose adding Multidex.dtypes (wealready have MultiIndex.dtype but its always object). I think this is worth the convenience api.
Read more
Enhancement
MultiIndex
Needs Triage
good first issue
Open