This is the second article on creating and visualizing network graphs using Netwokrx and Gephi. In this article, we are going to take a network graph and store it in such a way that we can visualize it using Gephi. Coming to visualization, refer to this article on visualization using matplotlib Gephi is a visualization …
Welcome to the two-episode series of creating network graphs using Python and visualizing them in Gephi! In this pilot episode, we are going to learn in detail about what network graphs are, the approaches to creating them, and performing some basic operations on them. A Network graph is used to analyze the relationship between different …
Lambda functions are also called anonymous functions. An anonymous function is a function defined without a name. It can take any number of arguments. The scope of this function is limited to that defined scope only.
In Python Numbers stores the numeric values. Numbers are immutable data types and assigns a new location if you change the value. Immutable objects can’t change their state, value or content.
Python input() is a built-in function and used to take input from the user.
Python return statement is used in functions to return certain value to the arguments of function. The lines after the return statements are not executed.
In Python while loop is used when a certain block is to be executed until the condition in while statement is true. A loop become infinite if the condition never becomes false.
In Python decisions are made with if statements also called as selection statement. The if block statements are executed if the conditions are ‘true’. In case of false condition, the else block is executed.
Python for loop is used for iteration of a sequence. for loop continues the iteration till the sequence is ended.
In Python continue keyword skips that loop iteration and move on with the next line of iteration. It doesn’t end the loop but skips that particular condition or line of code.