Update SDG1.ipynb

pull/1109/head
dylanra-openai 2 months ago committed by GitHub
parent 216ef19ffb
commit 05d1225796
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -948,14 +948,6 @@
"outputId": "8e7835c9-884a-4504-bbed-f556382dd9f5"
},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"/var/folders/_7/4r0_zg6n2pg205phgy6ggxxr0000gq/T/ipykernel_27908/1185460482.py:1: DeprecationWarning: DataFrameGroupBy.apply operated on the grouping columns. This behavior is deprecated, and in a future version of pandas the grouping columns will be excluded from the operation. Either pass `include_groups=False` to exclude the groupings or explicitly select the grouping columns after groupby to silence this warning.\n",
" selected_examples = df.groupby('Cluster').apply(lambda x: x.sample(3)).reset_index(drop=True)\n"
]
},
{
"name": "stdout",
"output_type": "stream",
@ -1057,14 +1049,6 @@
"outputId": "8864421a-e9d4-4ea6-f747-a76a3291a593"
},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"/var/folders/_7/4r0_zg6n2pg205phgy6ggxxr0000gq/T/ipykernel_27908/4032339398.py:1: DeprecationWarning: DataFrameGroupBy.apply operated on the grouping columns. This behavior is deprecated, and in a future version of pandas the grouping columns will be excluded from the operation. Either pass `include_groups=False` to exclude the groupings or explicitly select the grouping columns after groupby to silence this warning.\n",
" selected_examples = df.groupby('Cluster').apply(lambda x: x.sample(3)).reset_index(drop=True)\n"
]
},
{
"name": "stdout",
"output_type": "stream",

Loading…
Cancel
Save