✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
What is the output of the following code?
import pandas as pd
df1 = pd.DataFrame({ 'A': [1, 2], 'B': ['x', 'y'] })
df2 = pd.DataFrame({ 'A': [3, 4], 'B': ['z', 'w'] })
result = pd.concat([df1, df2], ignore_index=True)
print(result)