<jupyter_start><jupyter_text>Pobieramy dane<jupyter_code>data = dw.load_dataset('datafiniti/mens-shoe-prices')
data.dataframes
df = data.dataframes['7004_1']
df.shape
df.sample(5)
df.columns
df.prices_currency.unique()
df.prices_currency.value_counts
df.prices_currency.value_counts(normalize=1)
df_usd = df[ df.prices_currency == 'USD'].copy()
df_usd.shape
df_usd.prices_amountmin.head()
df_usd['prices_amountmin'] = df_usd.prices_amountmin.astype(np.float)
df_usd['prices_amountmin'].hist()<jupyter_output><empty_output><jupyter_text>Usuwanie wartości odstających<jupyter_code>filter_max  = np.percentile(df_usd['prices_amountmin'], 99)
df_usd_filter = df_usd [ df_usd['prices_amountmin'] < filter_max ]
df_usd_filter.prices_amountmin.hist(bins=100)
ls
!git add matrix_one/day3.ipynb
!git config --global user.email "<EMAIL>"
!git config --global user.name "kozolex"
!git commit -m "Read Man's Shoes proces dataset from data.world"
!git push<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.13257965056526208, 'fraction_numerical': 0.013360739979445015, 'mean_word_length': 8.365384615384615, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 10, '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': '311670', 'license': 'MIT', 'n_tokens_mistral': 410, 'n_tokens_neox': 400, 'n_words': 56, 'path': 'matrix_one/day3.ipynb', 'repo_name': 'kozolex/dwmatrix', 'size': '983'}