This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
It's the most wonderful time of the year - Santalytics 2020 is here! This year, Santa's workshop needs the help of the Alteryx Community to help get back on track, so head over to the Group Hub for all the info to get started!
hi @esridhar126 i think that you may need to ask your IT to add you full permissions in WINDOWS on ALTERYX folder including all the%alteryx%\bin\miniconda3\pythontool_venv and its subdirectories/ files
Yeah i think i have it. I could not test this on your pdf (got filtered out by a spam filter) but tested on my foo.pdf with multiple tables across multiple pages.
There was a need to loop through that tables list + actually specify pages range in that camelot.read_pdf call.
Without those pages spec it just did not work.
Something like this should fix the problem
#Parse the tabular data
#specify the path to your PDF document
#need to include param pages to go beyond page 1
tables = camelot.read_pdf('foo-more-tables.pdf', pages='1-2')
#Get the dataframe from the PDF table data
output_number = 1
#Loop through the tables and output all of them
for table in tables:
df = table.df
#Write the dataframe with tabular data to the tool output number 1