<jupyter_start><jupyter_text>https://colab.research.google.com/drive/15ZWD9eRIyNqCxwb_Fah_7RLftIMmqsNPscrollTo=Y4AbQUz3uyry<jupyter_code>!pip install psycopg2

!pip install sqlalchemy psycopg2 

import psycopg2
conn = psycopg2.connect(dbname="postgres", user="postgres")
cursor = conn.cursor()
cursor.execute("CREATE TABLE notes(id integer PRIMARY KEY, body text, title text)")
conn.close()<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.11428571428571428, 'fraction_numerical': 0.023809523809523808, 'mean_word_length': 9.268292682926829, 'pattern_counts': {'":': 0, '<': 5, '<?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': '359864', 'license': 'MIT', 'n_tokens_mistral': 171, 'n_tokens_neox': 162, 'n_words': 25, 'path': 'Postgres.ipynb', 'repo_name': 'DivyaWadehra/60daysofudacity', 'size': '420'}