Category Archive for "Python"

How to use Pandas Scatter Matrix to visualize trends in data

In this post, we’ll cover scatter matrices (pair plots) using Pandas. Now, Pandas is using Matplotlib to make the scatter matrix. A scatter matrix (pairs plot) compactly plots all the numeric variables we have in a dataset against each other

Read More
Introducing-sketch2code

Introducing Sketch2Code – Turn Sketches into Working HTML in Seconds

The user interface design process involves lots of creativity and iteration. The process often starts with drawings on a whiteboard or a blank sheet of paper, with designers and engineers sharing ideas and trying their best to represent the underlying
Read More
python_operator_200

Python’s Fake Increment and Decrement Operators

In Python, you can increase the value of a variable by 1 or reduce it by 1 using the augmented assignment operators. The code spam += 1 and spam -= 1 increments and decrements the numeric values in spam by
Read More
Python ModelForm

Creating Dynamic Forms with Django

What is a dynamic form and why would you want one? Usually, you know what a form is going to look like when you build it. You know how many fields it has, what types they are, and how they’re
Read More