Pretty exicting particular given that the guys behind it are from India (home country bias! :-) )
I decided to give a try now!
First, need to get hold of a pdf using a filetype:pdf nseindia.com - Google Search.
The first result looks pretty good to try out!
I fired up Spyder from Anaconda in my virtual env.
conda activate ibPy conda install -c camelot-dev camelot-py spyder
The file was imported and the tables imported pretty darn well! Cool stuff!
# -*- coding: utf-8 -*- import camelot tables = camelot.read_pdf('ind_nifty50.pdf') tables tables.df tables.df tables.df tables.df tables.df tables.df
Lot of more advanced use cases available here. Looking good!
Subscribe to Santosh writes here
Get the latest posts delivered right to your inbox