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 140,341 public repositories matching this topic...

njacharya
njacharya commented Aug 16, 2019

A description is incomplete. It should mention:

These patterns are not competing, but complementing each other. To achieve availability, one needs both fail-over and replication.

right after

"There are two main patterns to support high availability: fail-over and replication. "

mattc41190
mattc41190 commented Mar 25, 2020

The Tutorial section of the docs refers to to the most recent Flaskr application structure however the Testing Deep Dive section is still referring to an application structure from at least the 0.12 version of the tutorial which assumes an application structure that doesn't involve the app factory. This could certainly confuse a new comer... I mean not me.... I certainly wasn't confus

Volker-Weissmann
Volker-Weissmann commented Mar 21, 2020

In the documentation it says:

Turns positive integers (indexes) into dense vectors of fixed size. eg. [[4], [20]] -> [[0.25, 0.1], [0.6, -0.2]]

Neither this explanation nor this example is very clear. I would suggest replacing this with

Turns positive integers (indexes) into dense vectors of fixed size. eg. [[4], [20]] -> [[0.25, 0.1], [0.6, -0.2]]

httpie
nhooey
nhooey commented Mar 6, 2020

It's not clear from the website's documentation, or the --help output, how to do the following equivalent curl task:

Post a raw JSON query to ElasticSearch:

curl \
    --header "Content-Type: application/json" \
    --request POST \
    --data '{ "_source": [ "restricted_countries.*" ], "query": { "match_all": {} }, "size": 1000 }' \
    'http://localhost:9200/_search'

T

samccann
samccann commented Feb 12, 2020

We're trying to fix as many broken links as possible before modules move into collections. This is the batch of broken links on some Ansible modules.

NOTE: the link checker sometimes reports an error where a link actually works. Ignore those if you find them.

ISSUE TYPE
  • Documentation Report
COMPONENT NAME
requests
psiyan
psiyan commented Feb 28, 2020

When using the url http://docs.python-requests.org/en/latest/, it redirects to https://2.python-requests.org//en/latest/ (notice the extra / before en). This causes a HTTP 404.

Expected Result

The redirect should be to https://2.python-requests.org/en/latest/

Actual Result

HTTP 404

Reproduction Steps

Try to visit the latest en documentation for requests using the

jnboehm
jnboehm commented Mar 16, 2020

Describe the bug

Calling a pipeline with a nonparametric function causes an error since the function transform() is missing. The pipeline itself calls the function fit_transform() if it's present. For nonparametric functions (the most prominent being t-SNE) a regular transform() method does not exist since there is no projection or mapping that is learned. It could still be used f

tomdov
tomdov commented Jan 27, 2020
  • face_recognition version: latest docs
  • Python version: N/A
  • Operating System: N/A

Description

the docs say that default value for 'model' is "large". in fact, it is "small", which makes a different. please correct the docs

biko-the-bird
biko-the-bird commented Jul 7, 2018

The chat tutorial listed for elixir is outdated. It uses a old version of phoenix and could be confusing to new users who would be learning a oudated set of syntax, application structure, commands i.e. mix phoenix.create vs. mix phx.create.

Also it's missing some steps. For one this they never do mix ecto.create without which the postgres database is not initialized so the app doesn't wo

leetcode
MarcoGorelli
MarcoGorelli commented Apr 11, 2020

NOTE: I'd originally opened a PR to address this, but am now busy with other obligations + other PRs to respond to. So I'm opening it up as a good first issue for now, and will return to work on it if nobody takes it.


In pandas/core/groupby/generic.py::DataFrameGroupBy::_transform_general, it seems this branch is never reached:

gyermolenko
gyermolenko commented Feb 7, 2019

I think listing anti-patterns with some basic reasoning about "why not" is a good idea.

Example - singleton. Although #256 has "won't fix" label

  • it is in PRs section, and people (if searching history at all) are searching issues first.
  • it was misspelled, Singelton instead of Singleton, therefore impossible to find

Listing most popular anti-patterns (without actual implementation) shou

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.