About 563,000 results
Open links in new tab
  1. python - Find min, max, and average of a list - Stack Overflow

    I am having hard time to figure out how to find min from a list for example somelist = [1,12,2,53,23,6,17] how can I find min and max of this list with defining (def) a function I do not …

  2. python - Getting the index of the returned max or min item using …

    Mar 19, 2010 · 735 I'm using Python's max and min functions on lists for a minimax algorithm, and I need the index of the value returned by max() or min(). In other words, I need to know which …

  3. Máximo e mínimo Python - Stack Overflow em Português

    Sep 29, 2017 · Qual é a função que eu uso para encontrar os valores máximo e mínimo entre 2 valores na linguagem Python? Obrigada

  4. Finding max /min value of individual columns - Stack Overflow

    Jan 8, 2023 · Finding max /min value of individual columns Asked 8 years, 1 month ago Modified 2 years, 11 months ago Viewed 95k times

  5. NumPy: function for simultaneous max () and min ()

    176 numpy.amax () will find the max value in an array, and numpy.amin () does the same for the min value. If I want to find both max and min, I have to call both functions, which requires …

  6. python max function using 'key' and lambda expression

    Aug 18, 2013 · I come from OOP background and trying to learn python. I am using the max function which uses a lambda expression to return the instance of type Player having …

  7. How does the max() function work on list of strings in python?

    0 Something I would like to add apart from the other answers is that in Python 3 the max for a list of strings gives the following output :-

  8. Python max and min - Stack Overflow

    Dec 16, 2011 · 9 That's cause each time you pass one integer argument to max and min and python doesn't know what to do with it. Ether pass at least two arguments:

  9. python - Maximum and Minimum values for ints - Stack Overflow

    Sep 30, 2011 · How do I represent minimum and maximum values for integers in Python? In Java, we have Integer.MIN_VALUE and Integer.MAX_VALUE. See also: What is the …

  10. Box plot with min, max, average and standard deviation

    Aug 30, 2023 · I want to create a boxplot using the minimum, maximum and average output and standard deviation of a dataset. The examples I found, plot a numerical distribution, but in my …