<jupyter_start><jupyter_text>Create example for Trajectory example<jupyter_code>import sys
r_path_data = "../src/utils/trajectory_descr/"
sys.path.append(r_path_data)
from trajectory_vis import *
season='winter'
country="china"
username='YOUR USERNAME'
filename='cluster_results_China_winter_0d_to_30d_WDaligned_FALSE_win_8_wCtryTRUE_N_30000_CONSTANT_LCS_NClus_4.csv'
d=pd.read_csv("../results/sequence_analysis/China_winter/"+filename)
names=['city hoppers', 'coast lovers', 'round trippers', 'wierdos']
a=trajectory_description(d, country, season, names, username)
a[0]
a[1]<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.12376237623762376, 'fraction_numerical': 0.019801980198019802, 'mean_word_length': 11.14, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '590322', 'license': 'MIT', 'n_tokens_mistral': 243, 'n_tokens_neox': 232, 'n_words': 32, 'path': 'examples/trajectory_descriptions.ipynb', 'repo_name': 'G-Simeone/Learning_Tuscany_Tourism_Flows', 'size': '606'}