Last active
November 24, 2015 01:32
-
-
Save aivuk/fe614d32bc77abb8c9cb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas as pd | |
# Carrega planilha A | |
planilha_A = pd.read_excel('basedadosexecucao2003.xls') | |
# Carrega planilha B | |
planilha_B = pd.read_excel('basedadosexecucao2004.xls') | |
# Gera nova planilha concatenando planilha A e B | |
planilha_agrupada = pd.concat([planilha_A, planilha_B]) | |
# Salva no arquivo 'agrupada.xls' | |
planilha_agrupada.to_excel('agrupada.xls') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment