Skip to main content

How to use Python to figure out why your friends have more friends than you


Do your friends, on average, have more friends than you? If you are an average person, there is a high chance that you have fewer friends than your friends. This is called the friendship paradox. This phenomenon states that most people have fewer friends than their friends have, on average. In this article, I will demonstrate why such a paradox exists, and whether we can find the paradox in Facebook data. GIF by author Minimal example To understand why the friend paradox exists, let’s start with a minimal example. We will create a network of people. Two people are friends if they…

This story continues at The Next Web

from The Next Web https://ift.tt/3jRPwTe

Comments

Popular posts from this blog

TNW Podcast: Boris comes over to co-host; Slack’s Cal Henderson talks European tech

 Welcome to the new episode of the TNW Podcast — the show where we discuss the latest developments in the European technology ecosystem and feature interviews with some of the most interesting people in the industry. In today’s episode, Andrii is joined by Boris Veldhuijzen van Zanten, co-founder, member of the board, and former CEO of TNW. The topics discussed include the jobs created by Dutch startups, giant state funding for energy projects, translations of the word ‘computer’, and a bunch of other things in between. In the interview section, we’re featuring a conversation with Cal Henderson, co-founder and… This story continues at The Next Web from The Next Web https://ift.tt/jUgcNFD

How to copy and paste multiple text snippets on Android and iOS

Welcome to TNW Basics, a collection of tips, guides, and advice on how to easily get the most out of your gadgets, apps, and other stuff. As much as it’s now fairly easy to type quickly on touchscreen keyboards these days, it can be more laborious than using a desktop with a full-sized physical keyboard — especially if you need to format your text and enter special characters. I’ve got a tip for you. Google’s Gboard and Microsoft’s SwiftKey keyboard apps come with handy clipboards that let you save multiple snippets of text that you can retrieve and paste anywhere with… This story continues at The Next Web Or just read more coverage about: Android from The Next Web https://ift.tt/3viCVf5

Google wants you to complete simple tasks for hard cash in its new app

If you’ve ever wanted to work for Google, now’s your best chance. The company has a new app called Task Mate that lets you earn money by completing tasks such as taking pictures of storefronts or recording short voice clips. At the moment, the app is live only for users in India. Plus, you’ll need an invitation code to sign up and start working on these tasks — it appears there aren’t many codes around yet. [Read: Here’s how to make your website more accessible] The firm already has an app called Google Opinion Rewards that asks you questions about its… This story continues at The Next Web Or just read more coverage about: Google from The Next Web https://ift.tt/2UXm3KO