Reading pdf file using tabula

I have a pdf file with tables in it and would like to read it as a dataframe using tabula. But only the first page has column header. While reading using “tabula.read_pdf(pdf_file, pages=‘all’, lattice = ‘True’), the data is coming in desired format and all the pages are extracted properly however while using “pd.DataFrame(tabula.read_pdf(pdf_file, pages=‘all’, lattice = ‘True’), showing only some rows.