<jupyter_start><jupyter_text>***EXERCISE 3.1***Get a DataFrame with just `count` and `mean` (first 2 rows) of the numeric columns<jupyter_code>df.describe().head(2)<jupyter_output><empty_output><jupyter_text>***EXERCISE 3.2***Show the 6 least common countries (in absolute value) and the 3 most common wine varieties (in percentage)<jupyter_code>df['country'].value_counts().tail(6)
df['variety'].value_counts().head(3)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.1514476614699332, 'fraction_numerical': 0.022271714922048998, 'mean_word_length': 9.465116279069768, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '2', 'dir': 'jupyter-structured-clean-dedup', 'id': '255867', 'license': 'MIT', 'n_tokens_mistral': 168, 'n_tokens_neox': 155, 'n_words': 35, 'path': 'solutions/03_exploring_data_solutions.ipynb', 'repo_name': 'gabrielecalvo/pandas_tutorial', 'size': '449'}