Top "Min" questions

Minimum value.

Find min/max in a two dimensional array

I have an array with the following format: Array ( [0] => Array ( [DateTime] => "2013-05-22 14:21:01" [Price] => 102.01 ) [1] => Array ( [DateTime] =&…

php arrays max min array-map
Get minimum value field name using aggregation in django

I have a model with some fields like below class Choclate(models.Model): name = models.CharField(max_length=256) price = models.…

python django min django-aggregation
R: use min() within dplyr::mutate()

require(plyr) require(dplyr) set.seed(8) df <- data.frame( v1 = runif(10, -1,1), v2 = runif(10, -1,1)) The problem: How …

r min dplyr
How to Minify HTML code?

My idea is to somehow minify HTML code in server-side, so client receive less bytes. What do I mean with "…

html html-parsing minify htmlpurifier min
How do I find the min() or max() of two Option[Int]

How would you find minValue below? I have my own solution but want to see how others would do it. …

scala max option min
MySQL - How to select rows with the min(timestamp) per hour of a given date

I have a table of production readings and need to get a result set containing a row for the min(…

mysql timestamp min hour
std::max() and std::min() not constexpr

I just noticed that the new standard defines min(a,b) and max(a,b) without constexpr. Examples from 25.4.7, [alg.…

c++ max c++11 min constexpr
mysql find smallest + unique id available

i have a column ID and something like 1000 items, some of then were removed like id=90, id=127, id=326 how can …

php mysql unique min
Using Double.POSITIVE_INFINITY in Java to find minimum value

Simple question: will the following code work for finding the minimum value in an array of doubles (assume at least …

java double min minimum infinity
Is there a numpy max min function?

Is there a numpy function that gives for a given numpy array its maximum - minimum value, i.e. numpy.…

python numpy max min