# Max Questions

Ad

## How to move individual parts of Aircraft in unity 3d

I have a aircraft model and i am able to fly it. i want to move individual parts of aircraft like rudder, propeller, landing gear,etc. and change

## Find index of max() after groupby

Is there a possibility to find the index after a groupby. so in other words i use a groupby function to find max values, but i would like to find

## XAML : Binding textbox maxlength to Class constant

I am attempting to bind a wpf textbox's maxlength property to a known constant deep within a class. i am using c#. the class has a

## Python - Dicts: how to find out what the key(s) with the highest int as value is/are

In a dict, i want to find all keys that have the highest value, so in this example not only key 'd', but also key 'b'. how do i do this (in the

## How to get max date (Future) from an object array swift

This is my object, where i want to get the highest expiresdate. struct latestreceiptinfo { var productid: string?

## mysql : can't have the max result

I've got a problem with my mysql request, i have this table :

## max() function with for loops

I am currently studying this job shop problem from google or-tools and i need your help to understand this one, jobs_data = [ #

## Potsgres SQL: select timestamp prior to max timestamp

I have a table in postgres with timestamps: timestamp 2022-01-01 00:52:53 2022-01-01 00:57:12 ... 2022-02-13 11:00:31 2022-02-13

## How to find a value in columns and return the column name in Python

I have the following pivot table, with the last column returning the max value of the row. totalcount

Ad

## Outputting matrix with softmax activation on each row in TensorFlow model

I am constructing a tensorflow (2.0) model which takes an image (30x100 matrix) as input and wish to be able to have outputs (and labels) of the

## MIN and MAX of dates producing wrong output

I have payment data and i want to show min and max dates based on different payment types and count number of payments and adjustments.

## How find max of an inner element in a list of key, values?

I have a list of items as you see below. the values for each year key is a list of 10 items but to make it short, i am only showing the first

## Maximum value between two lists, and their indexes

I have a nested dictionary with list of values, i want to have - the maximum index wise value between two lists - the 'id' for each max value (by

## Return the key of the maximum value in a dictionary base on criteria in Python

I have the following dictionary: d = {'a': {'0': 'london', '1': 'athens', '2': 'paris', '3': 'london'}, 'b': {'0': 1, '1': 2,

## Subsetting one list based on another list and then finding position of the maxima

Updated: i have two lists that look like this: mylist1<-list(c(0,1,1,1),c(1,1,2,0))

## SQL Max from Subquery, Msg 102, Incorrect syntax near ')'

I'm trying to get only the max-results of the sums per day. i'm trying this with select max(anzahl) from (subquery) the subquery itself

## How to delete the oldest lines from log file using logback?

I wrote code based on this solution:

## Using 'request' in node to download image from URL as buffer and then insert into SQL database as varbinary(max)

I'm authenticating users with google/facebook/ms oauth and i'm then giving them a refresh token. i then use this long-lived refresh token to make

## Mini-Max Sum problem from HackerRank (in C)

I've tried to solve this problem on hackerrank given five positive integers, find the minimum and maximum values that can be calculated by

## How to do tensorflow segment_max in high dimension

I want to be able to call tensorflow's tf.math.unsorted_segment_max on a data tensor that is of size [n, s, k]. n is the number of channels and k

Ad

## Implementation of softmax function returns nan for high inputs

i am trying to implement softmax at the end of cnn, the

## Pandas Dataframe: groupby id to find max column value and return corresponding value of another column

I have a large dataframe with different food entries. each food has one nutrient (a, b, c, d) with a corresponding value for that nutrient in

## How to use MAX in CTE using SQL

I'm attempting to use a cte and a max function to find the highest number in a grouping of countries. ultimately in this table trying to find the

## implementing softmax method in python

I'm trying to understand this code from lightaime's github page. it is a vetorized softmax method. what confuses me is

## Flutter TextField maxLength not enforced

I'm implementing two simple dialogs to allow the user to edit two settings in my app. they're very similar, as you can see from the code. first

## Keras - How to use argmax for predictions

I have 3 categories of classes tree, stump, ground. i've made a list for these categories: categories = ["tree",

## pandas: get column and row name where row has the highest value for every row

I have the following dataframe: import pandas as pd data = pd.dataframe({'sent':['one','two','three'], 'val_1':[2,4,8], 'val_2':

## Opening maxmind DB and accessing it in nodejs

Previously i was using like this: opening maxmind db

## How to find source indexes of window max for dataframe?

I have a dataframe with datetimeindex and i want to find maximum elements for each window. but also i have to know indexes of

## how to get top count of a column per group in sql (postgresql)

Lets say i have a table like this: company investor

## How to implement camera pan like in 3dsMax?

What are the necessary maths to achieve the camera panning effect that's used in 3ds max? in 3ds max the distance between the cursor and

Ad

## Calculate two maximums at the same time?

I have a list of point objects, each of which has an x and y property. i wish to calculate the maximum_x and maximum_y, without iterating through

## Why is Python's max() function not accurate?

I tried to use the

## How many comparisons does a max() or a min() function do?

Given a list of n numbers, what is the number of comparison that the min() or max() function in python

## pandas idxmax: return all rows in case of ties

I am working with a dataframe where i have weight each row by its probability. now, i want to select the row with the highest probability and i am

## PyTorch softmax with dim

Which dimension should softmax be applied to ? this code : %reset -f import torch.nn as nn import numpy as np import

## Maximum and minimum value of C types integers from Python

I'm looking for a way to get (using python) the maximum and minimum values of c types integers (ie uint8, int8,

## Getting index name for the max value in DF

I have the following dataframe: data = {'algorithm': ['knn', 'decision tree', 'svm', 'logistic regression'], 'jaccard':

## Minimax algorithm not working for 4x4 TicTacToe

Okay, so i wrote the following agent for a bot to play tic tac toe. i have used the traditional minimax algorithm without pruning. the thing is

## Keras Model with Maxpooling1D and channel_first

I have a problem with my current attempt to build a sequential model for time series classification in keras. i want to work with

## Laravel groupBy then return one result with the highest count

I have an expenses table, that has a belongsto relation with descriptions. i simply want to return the

## Javascript find the closest number in an array of objects and retrieve the object's key value

I have an array of objects(with keys: name, quotenumber)and i would like to find the closest

Ad

## Javascript - find highest value in an object of arrays of objects

I have an object containing arrays of objects. i'm trying to find the highest value of an object property, 'sortorder' without manually iterating

## The output of min and max function used in python is coming out to be the same.Why?

#data revenue = [14574.49, 7606.46, 8611.41, 9175.41, 8058.65, 8105.44, 11496.28, 9766.09, 10305.32, 14379.96, 10713.97, 15433.50]

## SQL: How would you split a 100,000 records from a Oracle table into 5 chunks?

I'm trying to figure out away to split the first 100,000 records from a table that has 1 million+ records into 5 (five) 20,000 records chunks to

## Tunring an array of probabilities, into a binary array

I am trying to convert a numpy array of probabilities that sum up to 1.0, into a binary array. essentially, i want to turn the max probability in

## How to find max and min elements in array in C?

I created an array by using dynamic memory allocation. i'm typing the size of array and then the elements. the program sums the elements,

## How do I print the index of the maximum and minimum values?

The following code prints the maximum and minimum value. how do i go about printing the index of those values rather than the values

## How to pull row number of the last row containing a specific text?

I want to pull the row number of the last row conataining a specific text and the data is sorted randomly in google sheet. for example, i need to

## Find max value and it's address in the List

C language. this function (max_value) is supposed to find max value and it`s address to the next element. i don't know why it doesn't work. it is

## Tell me why use "max,min,sum=arr[0];" this code

I want to print the maximum, minimum, and total sum of input integers but i don't understand why use this code(max,min,sum=arr[0];)

## All max elements and their postition of array

So, for example, i have array: [1, 4, 9, 3, 9] i need to find all max elements [9, 9] and their index [2, 4] how can i do this? in

## Need help understanding this recursive function

I'm learning recursion and we're supposed to get the biggest number from an array, but i don't understand the solution.

Ad

## howto setup maxFileSize in Typo3 9.5.8

I set up my php.ini to upload_max_filesize=12m, that works fine in phpinfo(); but typo3 9.5.8 still doesn't accept files to upload larger

## Grouping By column and sort by

Suppose we have 2 tables @table export class parent extends model { @primarykey @hasmany(() => child, { as: 'child',

## std::max with overloaded less operator doesn't compile

Here's the code: #include <iostream> #include <fstream> #include <string> #include <algorithm> #include

## Set maxlength for checkout postcode field in WooCommerce

I'm trying to delete or increase the default maxlength (nowadays set to 4) on a wordpress site i developed using woocommerce. up to now

## Getting all data with highest value in MongoDB

I have a collection called "vulnerabilities" in mongodb 5. it looks like this: [ { _id: "...",

## How to find maximum value per group for all rows in SQL?

How to get the maximum value per group and get all rows of table? create table out_pumptable(

## selecting multiple max values from multiple ranges

I'm looking to find multiple max values using multiple ranges from a single table without using a loop. it's difficult to explain, but

## Get the max value for a date from an array of objects

In a react.js component, i have this array: const array = [{ date: '2017-12-21t07:43:00z', value: 7000 }, { date:

## Automatically assigning name to a list created by iteration

I am currently trying to create a command for maxima that allows for iteration of a function and places the result in a list. i managed to create

## how can I find the Min and Max with a for loop

Hi i have problem in my code i'm trying to find the minimum height of a plant and the max height of the plant with a for loop but i'm running

## Why is a Variable declared as NVARCHAR(MAX) dropping chunks of the string?

For whatever reason, a query is being built as a string and passed off to be executed by another stored procedure. the query is

Ad

## How can I add 5 numbers on a empty array using 1 textbox?

I want to enter five numbers into the array using one text box. and find the max number print it when i click the result button. i want to enter a

## How to round up number to nearest 100/1000 depending on number, in JavaScript?

I have a number that can be in the 2 digits, like 67, 24, 82, or in the 3 digits, like 556, 955, 865, or 4 digits and so on. how can i round up

## How to maximize window in Jenkins using Python, Selenium Webdriver and Chromedriver?

How to maximize a window in jenkins? i tried to maximize window using: chromeoptions = webdriver.chromeoptions()

## Find max value in array of objects containing NaN values

I have an array of objects and i want to get the max prevalence value. i try this code:

## Getting the max for an Api json data in react

I have fetched an api data which is "prices" , and i'm trying to get the maximum for it but this function is not working , i would

## How to find if there is a simple path from vertex x to vertex y that includes the edge e

So i faced this question and i hope that someone can help me in it. given an undirected graph g = (v, e), 2 vertices x,y

## Search between min and max in database from $_GET data in codeigniter

I have a form that after submission my controller gets data from that form and sends to model to retrieve a result from database based on the

## Select max entries in a range in SQL server

I have a salary column where i have to select between range of 10000 and 20000 and also the top rows of max salary. column i have:

## Detect if browser window is maximized and at default (100%) zoom

I know it sounds weird but there really is a reason and it is in the users' best interest. i know that having the browser automatically maximize

## Extract maximum number from a text string

I want to extract the highest numeric value from each string considering that sometimes that string will be an na, which will be copied as na.

## Customize MAXIMO purchase contract to be multi-vendor

I'm try to customize a maximo distribution by editing the java classes. the business would like to insert a purchase contract with

Ad

## how can i put variables into if using python, pyomo

This problem has been solved by the advice of those who are grateful. i want to simulate using python among the necessary constraints,

## Keras max_pool3d got an expected keyword argument 'data_format'

I am running a workshop with students using keras, and all of the students have the same anaconda3 installation in windows. the following

## Finding minimum and maximum from an array using functions

I am supposed to find minimum and maximum from function "getnumber". i will need to prompt for the user to stop, if user does not want to stop,

## pyOpt multi-objective minimax example

Abstract problem to be solved: we have n d-dimentional design variables, say {k_0, k_1, ..., k_n} maximize the minimum of [f(k_0),

## Get first and last record number in every date exists in table

I am trying to show invoices for every single day, so for that purpose i used group by on created date and sum on subtotal. this is how i done it

## Need to get max value from database table

I'm trying to get max value from database but it doesnt work for me. that i did wrong whith it? $con =

## Mysql Query Min And Max with Limit N Grouping

I'd like to ask some question about query. this is my case: structure table codenumber varchar (pk) prize

## Recursion triggers the error "Maximum call stack size exceeded error"

I get the error "maximum call stack size exceeded error" when calling this recursive javascript. this is my code:

Ad

## Blog Categories

Ad