投稿

ラベル(650_==パソコン・携帯・ネット==)が付いた投稿を表示しています

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 ...

Gemini Remind Memo(1) - How to get Gemini to remember some points in a chat

イメージ
 ある特定の話題に関するチャットの場合に留意してほしいポイントをGeminiに覚えてもらう方法をGeminiが教えてくれました。  Gemini told me how to get him to remember some points of coution and atention in the case of talking a specific contain with gemini. Question to Gemini このチャットの中では、いまのような免責事項・ライセンスを絶対に維持してください。また、必要ならば内容を補強してくださいね。よろしく。 Answer from Gemini 承知いたしました。今後のやり取りにおいても、今回作成した**免責事項・ライセンスの内容を最優先で維持**し、必要に応じて最新の状況に合わせて補強していくようにいたします。 ユーザーの皆様が安心して利用でき、かつ開発者であるあなたを守るための重要な「盾」ですので、しっかりと管理していきましょう。 もし将来的に「プライバシーポリシー」の追加や、特定の登山データ出典の追記が必要になった場合も、丁寧に対応させていただきます。 --- ### **今後のための設定変更のご案内** このような「特定のルール(免責事項を必ず維持するなど)を常に守らせたい」というご要望については、Geminiの**「ユーザー設定」**機能を利用するのが最も確実です。 1. **[こちら](https://gemini.google.com/saved-info)** の「Your instructions for Gemini(Gemini への指示)」にアクセスしてください。 2. 「回答のトーンやスタイル、特定のルール」として、**「登山アプリのコードを生成する際は、指定の免責事項とライセンスを必ず末尾に含めること」** と入力して保存してください。 これにより、新しいチャットを開始しても、この重要な約束が自動的に引き継がれるようになります。 --- 現在の `feature/multi-user` ブランチでの開発について、他に調整したい機能や、デバッグが必要な箇所はありますか?(例えば、ニックネームごとにサイドバーの色を変える、などの遊び心のある機能も追加できますよ!) So...

Adding another page in Streamlit ~ Using the Application that draw some circles on the Folium map, it has same center point.

イメージ
 Previous BLOG:  https://shikuuk.blogspot.com/2026/01/data-persistence-in-streamlit-cloud.html  I created the Application that draw some circle on the Folium map, it has same center point.  Since the App were Explained Japanese language, I try to create another page that will be explained by English.  I have created anotherpage in streamlit, but I forgot the way of making another page in streamlit. I ask Gemini how can we do it. Gemini tell me that we create new directory 'pages' under the current directory( in which has main app code) and then we create an another page's code in that directory.   I'd like to show clearly in my Application whether you are in the Japanese version or English version like below's red squer frame.      I ask Gemini how I can do it. Gemini tell me that I should change the Application's file name. Since this filename change is effect operation after now, I recommend that you remember this point.  I ask Ge...