A Python Code that gets value and the others from pdf table published on WEB site(WEB site上に公開されているpdfの表から数値などを読み取るPythonCode)
Web上で公表されている比較的複雑な表(including relatively complex table)を読み込んで(reading)、CSV StyleのFileに変換するCodeをCreateしました。 As material of PDF table, I selected 日本取引所グループ(JPX Group)がEveryWeekにPublishingする信用取引残高等(Margin Trading Balances, etc.)のPageにある銘柄別信用取引週末残高(Weekend Margin Trading Balances by Stock)のPDFにしました。 https://www.jpx.co.jp/markets/statistics-equities/margin/05.html The reason I chose this PDF, is because I want to be going to predict some stock price future, and I want to use this data for machine learning prediction and analysis. Of course, I ask Gemini when I create this code. Since It was difficult to read the JPX's PDF , I threw a lot of questions to Gemini. Especially it is very difficult for me and Gemini to identify Japanese Minus symbol (vertically reversed triangle) and value separator(comma symbol',') etc. I implement varius function in the code, examply like below. > At first, the code basicly read the values on the table of ...