Passing palette
without assigning hue
is deprecated and will be removed in v0.14.0. Assign the x
variable to hue
and set legend=False
for the same effect.
sns.boxplot(data=df, x='sexo_biologico', y='idade', palette=[AZUL_1, AQUA_1], ax=ax)
:24: FutureWarning: Series.getitem treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use ser.iloc[pos]
texto_anotacao1 = f"Mínimo = {df.groupby('sexo_biologico')['idade'].min()[1]}\n" :25: FutureWarning: Series.getitem treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use ser.iloc[pos]
f"1º quartil = {df.groupby('sexo_biologico')['idade'].quantile(.25)[1]}\n" :26: FutureWarning: Series.getitem treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use ser.iloc[pos]
f"2º quartil = {df.groupby('sexo_biologico')['idade'].median()[1]}\n" :27: FutureWarning: Series.getitem treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use ser.iloc[pos]
f"3º quartil = {df.groupby('sexo_biologico')['idade'].quantile(.75)[1]}\n" :28: FutureWarning: Series.getitem treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use ser.iloc[pos]
f"Máximo = {df.groupby('sexo_biologico')['idade'].max()[1]}"
:30: FutureWarning: Series.getitem treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use ser.iloc[pos]
texto_anotacao2 = f"Mínimo = {df.groupby('sexo_biologico')['idade'].min()[0]}\n" :31: FutureWarning: Series.getitem treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use ser.iloc[pos]
f"1º quartil = {df.groupby('sexo_biologico')['idade'].quantile(.25)[0]}\n" :32: FutureWarning: Series.getitem treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use ser.iloc[pos]
f"2º quartil = {df.groupby('sexo_biologico')['idade'].median()[0]}\n" :33: FutureWarning: Series.getitem treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use ser.iloc[pos]
f"3º quartil = {df.groupby('sexo_biologico')['idade'].quantile(.75)[0]}\n" :34: FutureWarning: Series.getitem treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use ser.iloc[pos]
f"Máximo = {df.groupby('sexo_biologico')['idade'].max()[0]}"
<module 'matplotlib.pyplot' from '/usr/local/lib/python3.11/dist-packages/matplotlib/pyplot.py'>
nÃO CONSIGO FAZER UPLOAD DO GRÁFICO, EU JÁ TENTEI NO ÍCONE DE FAZER UPLOAD E ARRASTANDO DA PASTA, MAS NÃO ENTRA AQUI