<commit_before>from pathlib import Path

import pandas as pd

from pandas_profiling import ProfileReport

if __name__ == "__main__":
    df = pd.read_json(
        r"http://snap.stanford.edu/data/amazon/productGraph/categoryFiles/reviews_Musical_Instruments_5.json.gz",
        compression='gzip',
        lines=True
    )

    profile = ProfileReport(df, title="Amazon Musical Instrument Review | Profile Report")
    profile.to_file(output_file=Path("./review_report.html"))<commit_msg>Black Formatting<commit_after>from pathlib import Path

import pandas as pd

from pandas_profiling import ProfileReport

if __name__ == "__main__":
    df = pd.read_json(
        r"http://snap.stanford.edu/data/amazon/productGraph/categoryFiles/reviews_Musical_Instruments_5.json.gz",
        compression="gzip",
        lines=True,
    )

    profile = ProfileReport(
        df, title="Amazon Musical Instrument Review | Profile Report"
    )
    profile.to_file(output_file=Path("./review_report.html"))
{'fraction_non_alphanumeric': 0.10362173038229376, 'fraction_numerical': 0.002012072434607646, 'mean_word_length': 3.9257425742574257, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, '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}}
{'dir': 'git-commits-cleaned', 'id': '4617550', 'n_tokens_mistral': 311, 'n_tokens_neox': 300, 'n_words': 59}