I have multiple times seen that applying e.g. pd.concat([df1, df2], axis=0) will yield a succesfully concatenated dataframe. However - when printing in the terminal to check the correctness, a row might randomly be missing. However - it is actually there when asking for it.
In short:
df1 = 10 rows and 3columns
df2 = 10 rows and 3 (same) columns
df = pd.concat([df1, df2], axis=0, ignore_index=True)
df may now print as a 19 row dataframe. WHY on earth? I can still find the missing row through slicing - then i will get a true/false indexation of length 20.
I simply do not understand the logic behind this, and there is not much online from what I see.
Hope someone has solved the mystery before..