0

It´s just a normal concat

df_both = pd.concat([df1,df2] , axis=1)

The booth doesn´t have missings, but after the concat the of right stay with missings NaN

  • if something is missing in your table it can show Nan. If you dont want to shjow Nan value then replace it – Mehmaam Oct 13 '22 at 12:07
  • This should be helpful: https://stackoverflow.com/questions/40339886/pandas-concat-generates-nan-values – Bill Giazitzoglou Oct 13 '22 at 12:44
  • please post an example of a `concat` with missing data for a minimal reproducible example: https://stackoverflow.com/help/minimal-reproducible-example – D.L Oct 13 '22 at 13:00

0 Answers0