#150 Parallel plot with pandas





Here is an example of a basic parallel plot using the pandas library










# libraries
import pandas
import matplotlib.pyplot as plt
from pandas.tools.plotting import parallel_coordinates

# Take the iris dataset
import seaborn as sns
data = sns.load_dataset('iris')

# Make the plot
parallel_coordinates(data, 'species', colormap=plt.get_cmap("Set2"))

Leave a Reply

Your email address will not be published.