Posts by Cainã Max Couto-Silva • 171 points
2 posts
-
3
votes1
answer143
viewsA: Data Frame with information from the Central Bank of Brazil
How your data is already DataFrames with the same contents, you can simply concatenate them by column using pd.concat: data = [pib, tx_selic, desemprego, m1, igpm] df = pd.concat(data, axis=1)…
-
1
votes1
answer193
viewsA: Consolidate . csv files with Python
It’s because you set axis=1 in function pd.concat(), when it should be axis=0, axis='index', or without specifying the argument, since this is the default. Change this and solve the problem :) And…