Some tables are missing while extracting from PDF using Camelot - pdf

I tried to extract table data from a Multi page Multi Table PDF using following code
import camelot
tables = camelot.read_pdf('InputPDF.pdf',flavor='stream',multiple_tables=True,pages='all')
tables.export('foo1.csv', f='csv', compress=True) # json, excel, html
But the 4,5 tables in Page 2 not extracted. same type of tables extracted in other pages properly
Attached the PDF file image which I tried as an example
There is no ERROR shown

Related

How to import a table using power query when the table does not show up in power query editor?

I am trying to import a table from this webpage:
http://www.eybl.lv/new/ce_u17_game.php?game_id=5746141&season_id=125274#mbt:103-400$t&0=1
When I try to import the table, power query does not find the table in the webpage.
Screenshot
I tried importing the webpage as a text file, but I still could not find any of the data from the table in the text file. I can't figure out why the data from the table is not showing up in the code. Could there be a different URL I should be using instead that contains the table? How can I import a table from this webpage into excel using power query? Please help, thanks!

Creating table in big query by uploading csv

I am new to big query . I am trying o create a table by uploading csv. Its size if 290 kb. Even if I fill all the required information the thee dots beside create table keeps moving(like loading ) but even after waiting for a long time, the table doesn't get created.
You can upload the CSV in a bucket and then reference it from BigQuery creation panel.
Here is the official guide from Google, with the screenshot. Should be rather simple. ( https://cloud.google.com/bigquery/docs/schema-detect)
On step 4 of the image below, select the path to the file and CSV format.
On step 5 you can either keep everything like it is or select "External Table" (which I recommend), in order to delete the table in case of error and not lose the CSV.
BigQuery should automatically handle the rest. Please, share more detailed information in case of error.
There are couple of ways through which you can upload CSV file to Bigquery as given below :-
Write an Apache beam code (Python/Java) and get data loaded to Bigquery. Sample code for reading and writing you can combine it.
Write a python script which is responsible for loading data to Bigquery.
import pandas as pd
from pandas.io import gbq
import os
import numpy as np
dept_dt=pd.read_csv('dept_data')
#print(dept_dt)
# Replace with Project Id
project = 'xxxxx-aaaaa-de'
#Replace with service account path
path_service_account = 'xxxxx-aaaa-jhhhhh9874.json'
os.environ["GOOGLE_APPLICATION_CREDENTIALS"] = path_service_account
dept_dt.to_gbq(destination_table='test1.Emp_data1',project_id='xxxxxx-ccvd-err',if_exists='fail')

how to export html table data displayed in web page to .csv format

How to export the table (table id="cross_rate_markets_stocks_1") at https://in.investing.com/equities/india
after selecting any option from the drop down menu the table that is coming needed to be saved it in .csv format.
it's for my final year project . I have tried using 3rd party websites but it is capturing all the data of the site but i only need data of (table id="cross_rate_markets_stocks_1")
firstly one need to select any value from the drop down with default value BSE Sensex 30
then the all the data displayed on the table (table id="cross_rate_markets_stocks_1") needed to be copied to a csv fie or downloaded
as csv file.

Uploading a CSV in PhpMyAdmin

I am trying to upload a .csv file in phpMyAdmin without success.
The first way: Selecting the current database and directly import the zipped file then selecting CSV under Format of imported file and , as delimiter.
I get no error but when the upload is complete nothing happens and the page remains white empty.
Second way: I created a table with the same number of columns (43) included in the csv file. Then import the CSV file using the same configuration as before.
I get an error basically saying that number of fields in the CSV imported is not valid even though it is.
What am I doing wrong?

Excel export showing only 254 columns

Excel export showing only 254 columns while generating it from Birt Report tool and here we use cross tab for showing the dynamically data..Even i tried to generate the file XSL and XSLX format.
select the data sets -->select the setting tab ---> select the fetch all rows from database check box. I hope it might be useful for you.