Skip to content

Franperman/Pandas_Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

World Cities Data Separation by Country

This Python script separates world cities data by country and saves each dataset into a separate XLSX file. Usage

Make sure you have the pandas and openpyxl libraries installed.
Download the worldcities.csv file containing the world cities data.
Run the separate_cities_by_country.py script.

The script will read the CSV file, group the data by country, and save each dataset into a separate XLSX file, with a maximum of 248 entries per file. Configuration

You can adjust the maximum number of entries per file by modifying the MAX_ENTRIES_PER_FILE variable in the script. Contribution

If you encounter any issues or have suggestions for improvement, feel free to open an issue or submit a pull request!

About

El proyecto consiste en dividir un archivo CSV grande de ciudades del mundo en archivos XLSX más pequeños, cada uno conteniendo datos de ciudades de un país específico, con un máximo de 248 entradas por archivo.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages