ML basis

Get started with your EDA now by exploring this voting records dataset numerically. It has been pre-loaded for you into a DataFrame called?df. Use pandas'?.head(),?.info(), and?.describe()?methods in the IPython Shell to explore the DataFrame, and select the statement below that is?not?true.

plt.figure()

... ... sns.countplot(x='satellite',hue='party',data=df,palette='RdBu')

... ... plt.xticks([0,1],['No','Yes'])

... ... plt.show()

?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

  • rljs by sennchi Timeline of History Part One The Cognitiv...
    sennchi閱讀 7,847評(píng)論 0 10
  • 春天離不開牛仔,牛仔適穿于各個(gè)季節(jié),它百搭而且讓人看起來(lái)陽(yáng)光有活力。 左面模特是,休閑背帶褲配白色緊身打底衫,...
    臺(tái)東DDM三店劉煥閱讀 271評(píng)論 2 0
  • 不得不說(shuō),神奇飛書是一本奇妙的書。準(zhǔn)確來(lái)說(shuō),這是一本奇妙的繪本,看了這本繪本之后,我決定重拾寫作。 每周六是女兒去...
    廚房里的馬鈴薯閱讀 7,495評(píng)論 2 6

友情鏈接更多精彩內(nèi)容