Slide 5
Slide 5 text
PandasAI - コード生成プロンプト例 1/5
You are provided with the following pandas DataFrames:
Dataframe dfs[0], with 10 rows and 3 columns.
This is the metadata of the dataframe dfs[0]:
country,gdp,happiness_index
United Kingdom,1194260612,7.16
United States,5382530119,6.94
Germany,7427242378,7.07
France,3889391010,6.66
Italy,5937009073,6.38
データフレームのサンプルデータ
ただし enforce_privacy 設定が有効なら省略
参照:generate_python_code.tmpl, _generate_dataframes(), _get_sample_head()
データフレームの行列数と
ヘッダを埋め込み
複数データフレームの場合は上記を繰り返す