CodePudding user response:
What do you mean, what is the median number of the column, if the column in table uni unit_price is what table? Mysql table or excel table?CodePudding user response:
In uni this form, if the unit_price column is 0, 0 to replace as a median of 79 excel import python, strives for the python how make this codeCodePudding user response:
If df is selected as a value of zero assignmentFor example,
uni. Loc [uni [' unit_price]==0]=uni [' unit_price]. Median