<jupyter_start><jupyter_text>Data Types and Missing Values<jupyter_code>import pandas as pd
reviews = pd.read_csv("winemag-data-130k-v2.csv", index_col=0)
pd.set_option('max_rows', 5)<jupyter_output><empty_output><jupyter_text>Datatypes<jupyter_code>reviews.price.dtype
reviews.points.astype('float64')
reviews.index.dtype<jupyter_output><empty_output><jupyter_text>Missing data<jupyter_code>reviews[pd.isnull(reviews.country)]
reviews.region_2.fillna("Unknown")
reviews.taster_twitter_handle.replace("@kerinokeefe", "@kerino")<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.13824057450628366, 'fraction_numerical': 0.01615798922800718, 'mean_word_length': 13.68421052631579, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, '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': '3', 'dir': 'jupyter-structured-clean-dedup', 'id': '226875', 'license': 'MIT', 'n_tokens_mistral': 228, 'n_tokens_neox': 222, 'n_words': 19, 'path': 'Data Mamipulation/Data Types and Missing Values.ipynb', 'repo_name': 'ashamandale/Technolab-Task-Intern', 'size': '557'}