<jupyter_start><jupyter_text><jupyter_code>import matplotlib.pyplot as plt
import seaborn as sns
import pandas as pd
import numpy as np
sns.set(style='darkgrid')

df = np.random.multivariate_normal(mean=[0,1], cov=[(1, -0.4),(-0.4,1)], size=200)  #rozkład wielowymiarowy
df = pd.DataFrame(df,columns=['x','y']) # x - rozkład normalny standardowy o średniej 0 i odchyleniu 1. y - wartość oczekiwana 1, rozrzut 1
df.head(3)
df.describe()
sns.jointplot(data=df, x='x',y='y')
sns.set(style='white')
sns.jointplot(data=df, x='x',y='y', kind='hex')
sns.jointplot(data=df, x='x',y='y', kind='kde')
sns.jointplot(data=df, x='x',y='y', kind='kde', n_levels=15, cmap='viridis')
g = sns.jointplot(data=df, x='x',y='y', kind='kde', n_levels=15, cmap='viridis')
g.plot_joint(plt.scatter, c='w', s=30, marker='+')<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.2147165259348613, 'fraction_numerical': 0.026537997587454766, 'mean_word_length': 7.469387755102041, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '348636', 'license': 'MIT', 'n_tokens_mistral': 384, 'n_tokens_neox': 372, 'n_words': 68, 'path': 'Wizualizacje4.ipynb', 'repo_name': 'KonradBier/kBI', 'size': '829'}