Search code examples
pythonpandasjupytervertica-python

Not seeing all values of list when I create a dataframe from list


I am using VerticaPy - https://www.vertica.com/python/

I have created two vDataFrame using train.csv and test.csv of kaggle's Titanic problem. the vDataFrames are created correctly

train_vdf = read_csv("train.csv")
train_vdf

enter image description here

test_vdf = read_csv("test.csv")
test_vdf

enter image description here

I then create a combined list and create a pandas dataframe from it

combine = [train_vdf, test_vdf] #gives a list
combine_pdf = pd.DataFrame(combine)
combine_pdf

But the output doesn't show the combined data from the two vDataFramess

enter image description here

Why don't I see the combined data in a table?


Solution

  • Change to concat

    combine_pdf = pd.concat(combine)