python - Line graph using the COL parameter -


new using seaborn, , specify simple , pretty(why im using seaborn) line graph.

particularly i'm using seaborn because understanding can supply column name seaborn col= parameter , create graph each unique value in column.

seaborn documentation

month_name contains month names such jan, feb, mar error:

"could not convert octoberjunejulyaugustseptember numeric" 

my code plot graph each of occurances of month_name i.e. jan, feb, etc

where person_name on x axis, , revenue earned y axis. therefore since there thwelve months expect below generate 12 graph grid (6x6).

sns.lmplot("person_name", "revenue", df, col="month_date", palette="set1", fit_reg=false); 

update

the error now: valueerror: first argument must sequence 5 blank graphs in row left right nothing in them. assume first argument refers x varaible --> "person name"? how 1 make column (person_name) sequence?

enter image description here


Comments

Popular posts from this blog

ruby on rails - RuntimeError: Circular dependency detected while autoloading constant - ActiveAdmin.register Role -

c++ - OpenMP unpredictable overhead -

javascript - Wordpress slider, not displayed 100% width -