Joy to the world

とある中小企業のしがない技術者でクリスチャンな人が書く日記。実はメビウス症候群当事者だったり、統合失調症のパートナーがいたりする。

コードインタプリタ便利かもしれない

ChatGPTのコードインタプリタ、結構いろいろなライブラリが使えて、それなりに使える。うまいことやれば、ちょっとしたデータ解析は全部コードインタプリタでできそう。参考に、ChatGPTのコードインタプリタで使えるライブラリを貼っておこう。


ChatGPTのコードインタプリタでは、多様なPythonライブラリが利用可能です。これらは主に以下のカテゴリに分類されます。

データ分析と可視化

  • pandas: データ操作と分析[1][2]
  • numpy: 数値計算[1][4]
  • scipy: 科学計算[1][4]
  • xarray: 多次元データの処理[1]
  • matplotlib: グラフ作成[1][2]
  • seaborn: 統計データの可視化[1]
  • plotly: インタラクティブな可視化[1]
  • bokeh: インタラクティブな可視化[1]
  • Vaex: 大規模データの解析[4]
  • Polars: 高速データフレーム操作[4]

機械学習自然言語処理

画像・音声処理

  • pillow (PIL): 画像操作[1][2][4]
  • imageio: 画像入出力[1]
  • opencv-python: コンピュータビジョン[1][4]
  • scikit-image: 画像処理[1][4]
  • librosa: 音声分析[1][2]
  • pyaudio: オーディオ処理[1][2]
  • soundfile: 音声ファイル処理[1]
  • MoviePy: 動画編集[2][4]

ファイル形式処理とWeb開発

  • openpyxl: Excel操作[1]
  • xlrd: Excel読み込み[1]
  • PyPDF2: PDF処理[1][2]
  • python-docx: Word文書処理[1]
  • flask: Webアプリケーション開発[1][2]
  • django: Webフレームワーク[1]
  • tornado: 非同期Webサーバー[1]
  • quart: 非同期Webフレームワーク[1]

統計と科学計算

  • statsmodels: 統計モデル[4]
  • SymPy: シンボリック数学[4]
  • PyMC3: ベイズ推定[4]
  • Astropy: 天文学向けライブラリ[4]
  • Prophet: 時系列予測[4]
  • Darts: 時系列分析[4]

これらのライブラリは、データ分析、機械学習、画像処理、テキスト処理など、幅広いタスクに対応しています。なお、コードインタプリタはインターネットアクセスがなく、外部パッケージのインストールができないという制限があります[5]。

Citations: [1] https://community.openai.com/t/code-interpreter-python-packages-list-of-packages-available-in-the-environment/198477 [2] https://qiita.com/yuuki-111/items/8cc1339b0b0168663c80 [3] https://beehivelearning.org/libraries-available-in-chatgpt-code-interpreter/ [4] https://qiita.com/kabumira/items/c07b28226e5af78afca1 [5] https://github.com/SkalskiP/awesome-chatgpt-code-interpreter-experiments [6] https://qiita.com/tomohiku/items/b9c379692ed64c7e4945 [7] https://www.seraku.co.jp/tectec-note/industry/chatgptcode_interpreter/ [8] https://github.com/0xeb/TheBigPromptLibrary/blob/main/Articles/chatgpt-sandbox/chatgpt-code-pkglist-08232024.md [9] https://qiita.com/ot12/items/39ff4264e0f13209ba62 [10] https://birdmanikioishota.blog.fc2.com/blog-entry-20.html [11] https://zenn.dev/currypurin/scraps/01241f00caf9dd [12] https://community.openai.com/t/referenced-relevant-libraries-in-code-interpreter-etc/232130 [13] https://stackoverflow.com/questions/76667874/how-can-i-install-python-library-in-chatgpt-code-interpreter [14] https://www.linkedin.com/posts/uldisbojars_libraries-available-in-chatgpts-code-interpreter-activity-7222238384503595008-hYM2 [15] https://qiita.com/HikoMSP/items/4231f7218f92ce1b14b3 [16] https://www.insource.co.jp/python-gakuin/chatgpt_code_interpreter_python.html [17] https://github.com/eon01/awesome-chatgpt [18] https://www.reddit.com/r/ChatGPT/comments/14vu01h/is_there_a_list_of_libraries_that_are_built_into/


Perplexity の Eliot より: pplx.ai/share