Skip to content

Instantly share code, notes, and snippets.

@fitomad
Created May 1, 2022 23:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fitomad/1a0f178286a06ae476dbc17b1cb3d62d to your computer and use it in GitHub Desktop.
Save fitomad/1a0f178286a06ae476dbc17b1cb3d62d to your computer and use it in GitHub Desktop.
/ Cargamos el CSV con los datos de 2019
guard let frame2019 = try? DataFrame(contentsOfCSVFile: peatones2019URL,
columns: columnNames,
types: columnTypes,
options: csvReadOptions)
else
{
fatalError("No se ha podido cargar el CSV en el DataFrame")
}
// Añadimos las filas del otro DataFrame
frame2021.append(rowsOf: frame2019)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment