<jupyter_start><jupyter_text>Applying Comparsion Operatorshttps://youtu.be/8mnLZGNrAzM?list=PLQVvvaa0QuDc-3szzjeP6N6b0aDrrKyL-<jupyter_code>import quandl;
import pandas as pd;

import pickle;

import matplotlib.pyplot as plt;
from matplotlib import style;
style.use("fivethirtyeight");
bridge_height = {'meters':[10.26, 10.31, 10.27, 10.22, 10.23, 6212.42, 10.28, 10.25, 10.31]};
# it seems that 6212.42 - the wrong data

df = pd.DataFrame(bridge_height);
df.plot();
plt.show();
df["STD"] = df["meters"].rolling(window = 2).std(); # standart diviation (square mean: root(sum / count))

df.plot();
plt.show();
df_std = df.describe();
print(df_std);

df_std = df.describe()["meters"]["std"];
print(df_std);
print(df["STD"] < df_std) # wow
print(df[df["STD"] < df_std]) # wow wow
junk_free_df = df[df["STD"] < df_std];
junk_free_df.plot();
plt.show();<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.1867881548974943, 'fraction_numerical': 0.05808656036446469, 'mean_word_length': 6.264462809917355, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 5, 'https://': 1, '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': '347866', 'license': 'BSD-3-Clause', 'n_tokens_mistral': 414, 'n_tokens_neox': 370, 'n_words': 69, 'path': 'pandas/pandas_erasingJunk.ipynb', 'repo_name': 'shevkunov/workout', 'size': '878'}