<jupyter_start><jupyter_text>dtale- https://pypi.org/project/dtale/- https://towardsdatascience.com/introduction-to-d-tale-5eddd81abe3f install by runningpip install --upgrade dtalemake sure all columns have the correct type, e.g. dates must be converted to datetime<jupyter_code>import os
from pathlib import Path
from dotenv import load_dotenv

creds = Path.home() / '.config' / 'cf_creds'
load_dotenv(creds)
from cf_utils import db
import pandas as pd

df_approved_lt10 = db.run_query("""
SELECT convert(date,check_date) as date, cc.score, ca.customer_id
FROM
app_creditchecks cc
inner join creditapplications ca on cc.application_id=ca.application_id
WHERE
template='LT10'
AND amount=10000
AND cc.application_id in (select application_id from acceptedcreditapplications)
AND YEAR(check_date)=2020
 
    """, 'AZURE_DB_PRODVILA_DATABASE')

df_approved_lt10['date']=pd.to_datetime(df_approved_lt10['date'],format='%Y-%m-%d')
import dtale
import pandas as pd
d = dtale.show(df_approved_lt10)
d.open_browser()
d._url 
d.kill()<jupyter_output>Executing shutdown...
{'fraction_non_alphanumeric': 0.10536218250235184, 'fraction_numerical': 0.021636876763875823, 'mean_word_length': 6.337931034482758, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 2, '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': '417671', 'license': 'FTL', 'n_tokens_mistral': 401, 'n_tokens_neox': 367, 'n_words': 89, 'path': 'notebooks/1-dtale-intro.ipynb', 'repo_name': 'TomasKeller/dtale_test', 'size': '1063'}