Posts

Seaborn

Image
0] Countplot [aama x axix pr name che aene cross ma lkhva tay che] sns.countplot(x='Type 1',data=df,palette='rainbow') plt.xticks(rotation=70) plt.rcParams['xtick.labelsize'] = 15 plt.rcParams['axes.labelsize'] = 20 01]ax=df[1:50].plot.area(alpha=0.4, figsize=(5,4))      ax.legend(bbox_to_anchor=(1.0,1.0)) [aama instant,season,yr,mnth,hr........graph ni bhar lkhva mate use tay che ax.legenda vadi line add karvi] 1] sns. barplo t(x='sex',y='total_bill',data=tips) Boxplot 2] sns . boxplot ( data = df ) #pokemon 2]  # Pre-format DataFrame #pokemon stats_df = df . drop ( [ 'Total' , 'Stage' , 'Legendary' ] , axis = 1 ) # New boxplot using stats_df sns . boxplot ( data = stats_df ) 2]sns. boxplot (x='day',y='total_bill',data=tips, palette ="rainbow")  #palette use for color #class 2]sns. boxplot (data=tips,palette="rainbow", orient='h