<jupyter_start><jupyter_text><jupyter_code>#!pip install python-igraph
#!pip install cairocffi
#!pip install pycairo
!pip3 install twint
import pandas as pd
import igraph
import io
import twint
from igraph import plot
import matplotlib.pyplot as plt

#from google.colab import files
#uploaded = files.upload()
#twitter = igraph.Graph.Read_Ncol('test_twitter.txt',  directed=True)
twitter.Read_picklez("./files/twitter_100K_picklez")
igraph.summary(twitter)
igraph.summary(twitter)
layout = twitter.layout_kamada_kawai()
plot(twitter, layout = layout)
dd_twitt = twitter.degree_distribution()
igraph.plot(dd_twitt)
twitter_1M = igraph.Graph.Read_Ncol('twitter_0.csv',  directed=True)
igraph.summary(twitter_1M)

twitter_1M=igraph.Graph.Read_Ncol('twitter_1.csv',  directed=True)

igraph.summary(twitter_1M)
dd = twitter_1M.degree_distribution()

igraph.plot(dd)
igraph.plot(dd)
dd_twitt = twitter.degree_distribution()
igraph.plot(dd_twitt)
twitter_1M = igraph.Graph.Read_Ncol('twitter_0.csv',  directed=True)
igraph.summary(twitter_1M)

twitter_1M=igraph.Graph.Read_Ncol('twitter_1.csv',  directed=True)

igraph.summary(twitter_1M)
dd = twitter_1M.degree_distribution()

igraph.plot(dd)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.11677631578947369, 'fraction_numerical': 0.014802631578947368, 'mean_word_length': 8.014814814814814, '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': '309205', 'license': 'MIT', 'n_tokens_mistral': 471, 'n_tokens_neox': 440, 'n_words': 74, 'path': 'tests/test_igraph2.ipynb', 'repo_name': 'mordor-ai/M1MIASHS_projet_twitter', 'size': '1216'}