Skip to content
#

Python

python logo

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.

Here are 171,038 public repositories matching this topic...

poyea
poyea commented Sep 30, 2020

The annual Hacktoberfest is around the corner! Register on Hacktoberfest's website and open 4 pull requests during October 2020 to receive the swags (if you're the first 70,000 participants)!

In our Python repository, there are currently several open issues:

  • #1901
  • #2128

What's more, you can al

Flamefire
Flamefire commented Oct 15, 2020

During debugging I've seen many constructs like 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

reshamas
reshamas commented Oct 16, 2020

Describe the issue linked to the documentation

In the section "Pull Request Checklist", this is how the text appears

A moderate use of type annotations is encouraged but is not mandatory. See [mypy quickstart](https://mypy.readthedocs.io/en/latest/getting_started.html) for an introduction, as well as [pandas contributing documentation]( https://pandas.pydata.org/pandas-docs/stabl
scrapy
incubator-superset
cooley-pe
cooley-pe commented Sep 30, 2020

Is your feature request related to a problem? Please describe.
I have a lot of trouble distinguishing between the shades of green signifying a running vs successful query in sqllab.

Describe the solution you'd like
Ideally these would be two different colors for running vs successful. Maybe yellow and green respectively?

Describe alternatives you've considered
If there isn't

ohemorange
ohemorange commented Jun 8, 2020

Copied from #7991:

If you look at https://certbot.eff.org/docs/api/certbot.compat.filesystem.html, you'll notice many formatting errors which should be fixed.

That's the bare minimum which I think should be done, but I think we should also see what we can do to avoid these problems from happening in the future. Is there a way we could build the docs in CI and check for these problems?

jreback
jreback commented Oct 11, 2020

create a mi

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 (we already have MultiIndex.dtype but its always object). I think this is worth the convenience api.

Created by Guido van Rossum

Released February 20, 1991

Organization
python
Website
www.python.org
Wikipedia
Wikipedia

Related Topics

language ruby
You can’t perform that action at this time.