Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

max of two columns pandas

df["C"] = df[["A", "B"]].max(axis=1)
Comment

max value from multiple columns pandas

max_fev = fev[['corrente_f1', 'corrente_f2','corrente_f3','tensao_f1','tensao_f2','tensao_f3','potencia_ativa_total','potencia_reativa_total', 'potencia_aparente_total', 'fator_potencia_total']].max()
Comment

PREVIOUS NEXT
Code Example
Python :: python error get line 
Python :: python file size 
Python :: python capitalize each word 
Python :: random character generator python 
Python :: how to save a png seaborn pandas 
Python :: How to perform run-length encoding in Python? 
Python :: time decorator python 
Python :: HOw to use passlock password manager python 
Python :: tk table python 
Python :: import reverse_lazy 
Python :: discord.py clear command 
Python :: plot specific columns pandas 
Python :: jupyter print full dataframe 
Python :: clibboard to png 
Python :: seaborn rotate xlabels 
Python :: python time using timeit module 
Python :: height width image opencv 
Python :: get max float value python 
Python :: --disable warning pytest 
Python :: how to get input in tkinter 
Python :: how to send whatsapp message with python 
Python :: how to get continuous mouse position with pyautogui in python 
Python :: mongodb between two values 
Python :: inverse matrix numpy 
Python :: bmi python 
Python :: np.save function 
Python :: python temporary directory 
Python :: pandas sum multiple columns groupby 
Python :: run JupyterLab 
Python :: opencv grayscale to rgb 
ADD CONTENT
Topic
Content
Source link
Name
4+7 =