python

python
表記に揺らぎがあるリストの項目をPythonで名寄せして対応づける

2台のパソコンの重複するファイルを整理していると、同じファイルなのに名前が微妙に違って困ることがある。Levenshtein距離を用いて名寄せするPythonスクリプトを書いた。使用にあたり、先ずターミナルでpip in […]

続きを読む
data science
Data-Driven Science and Engineering. Chapter 3 Exercises

続きを読む
data science
Data-Driven Science and Engineering. Chapter 2 Exercises

I used Python and worked on exercises in Chapter 2 of Data-Driven Science and Engineering, 2nd Edition (2022).

続きを読む
data science
Data-Driven Science and Engineering. Chapter 1 Exercises

Pythonを使ってData-Driven Science and Engineering (2022) 第1章の演習問題を解いてみた。

続きを読む
data science
解決!Mac matplotlibの日本語PDFがAcrobatで文字化け

macOSをVentura 13にバージョンアップして以来、matplotlibで日本語含むグラフを作成しPDF化すると、Adobe Acrobat Pro & Reader上で文字化けするようになった。Prev […]

続きを読む
data science
Mac Minicondaのアップデートが掛からないのはminiforge版だからだった

うちのMacのminicondaが古い。新しいバージョンが存在するようだが、指示どおりターミナルで conda update -n base conda と打ってもアップデートが掛からない。いろいろ不具合が蓄積しているよ […]

続きを読む
python
Base64, PyScriptとWordPress

HTML上でPythonを実行するPyScriptについて先日WordPressでの動作を検証したところ、いくつか気づいた不具合の中にインデントが正しく評価されずエラーになる問題があった。 セキュリティのためWordPr […]

続きを読む
python
WordPressでPyScriptを使ってみた

PyCon US 2022のキーノートでAnacondaからブラウザー上Python実行環境PyScriptが発表された。αバージョンだが、既にNumpy, Pandasなどの外部モジュールに対応しているとのこと。早速W […]

続きを読む
python
書籍: Effective Pandas

Harrison, M. (2021) Effective Pandas: Patterns for Data Manipulation. Independently published. Python Podcastで […]

続きを読む