Graph Algorithms, Relationalai, Snowflake, Louvain, Python.
total_connections = aggregates.count( t, per=[t.customer_id, t.connected.customer_id] ) total_connections > 1 RelevantConnection.add( customer_1=Customer(customer_id=t.customer_id), customer_2=Customer(customer_id=t.connected.customer_id), total_connections=total_connections, ) The result is the