-1
I need a program that prints a list with values greater than the one informed by the user, and these values that need to be printed by the list are in a function already defined. My code:
import pandas as pd
dados = pd.read_csv('./DadosClimaticos2018Londrina.csv', sep = ';', parse_dates = ['Data'])
dados['Mes'] = pd.DatetimeIndex(dados['Data'], yearfirst = True).month
# FUNÇÕES
def um(temp):
return pd.DataFrame(temp.groupby('Mes')['Temperatura'].mean()).reset_index()
listaTM = []
tmmin = float(input('Digite a temperatura media minima: '))
listaTM.append(tmmin)
print(listaTM)