Remove ciudad from columns

This commit is contained in:
coolneng 2021-01-01 22:26:59 +01:00
parent 0471cb0ab8
commit 29fd2a8436
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 1 additions and 1 deletions

View File

@ -23,6 +23,7 @@ def drop_null_values(df_list):
for df in df_list:
df.drop(columns="tipo_marchas", inplace=True)
df.drop(columns="descuento", inplace=True)
df.drop(columns="ciudad", inplace=True)
df.dropna(inplace=True)
return df_list
@ -32,7 +33,6 @@ def encode_columns(df_list):
files = [
"ao",
"asientos",
"ciudad",
"combustible",
"consumo",
"kilometros",