Skip to content

Commit 345f614

Browse files
committed
error with value_counts
1 parent 579530d commit 345f614

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Open_Lab_4_exploratory_analysis_with_pandas/filled_Open_Lab_4_exploratory_analysis_with_pandas.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3023,7 +3023,7 @@
30233023
"source": [
30243024
"# Group the data by OilPainting and then Gender \n",
30253025
"# find the counts of subcategories with .size()\n",
3026-
"paintings.groupby(['OilPainting', 'Gender']).value_counts()"
3026+
"paintings.groupby(['OilPainting', 'Gender']).size()"
30273027
]
30283028
},
30293029
{

0 commit comments

Comments
 (0)