Skip to content

statistics.median does not work with ordinal scale, add doc #77754

@WdeW

Description

@WdeW
mannequin
BPO 33573
Nosy @terryjreedy, @taleinat, @stevendaprano
PRs
  • bpo-33573: improve docs to suggest statistics.median() alternatives for non-numeric data #7587
  • [3.7] bpo-33573: docs to suggest median() alternatives for non-numeric data (GH-7587) #7906
  • [3.6] bpo-33573: docs to suggest median() alternatives for non-numeric data (GH-7587) #7907
  • Files
  • testMedian.py: simple demonstraion of failure
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2018-06-25.11:27:42.421>
    created_at = <Date 2018-05-18.19:29:45.729>
    labels = ['3.7', '3.8', 'type-feature', 'library', 'docs']
    title = 'statistics.median does not work with ordinal scale, add doc'
    updated_at = <Date 2018-06-25.11:27:42.421>
    user = 'https://bugs.python.org/WdeW'

    bugs.python.org fields:

    activity = <Date 2018-06-25.11:27:42.421>
    actor = 'taleinat'
    assignee = 'docs@python'
    closed = True
    closed_date = <Date 2018-06-25.11:27:42.421>
    closer = 'taleinat'
    components = ['Documentation', 'Library (Lib)']
    creation = <Date 2018-05-18.19:29:45.729>
    creator = 'W deW'
    dependencies = []
    files = ['47601']
    hgrepos = []
    issue_num = 33573
    keywords = ['patch']
    message_count = 10.0
    messages = ['317048', '317120', '317122', '317125', '317248', '317694', '319219', '320414', '320416', '320417']
    nosy_count = 5.0
    nosy_names = ['terry.reedy', 'taleinat', 'steven.daprano', 'docs@python', 'W deW']
    pr_nums = ['7587', '7906', '7907']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue33573'
    versions = ['Python 3.6', 'Python 3.7', 'Python 3.8']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of life3.8 (EOL)end of lifedocsDocumentation in the Doc dirstdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions