การสร้าง Scatter Plot

Python เบื้องต้นสำหรับ Data Science

Hillary Green-Lerman

Lead Data Scientist, Looker

การแมปสัญญาณโทรศัพท์มือถือ

Python เบื้องต้นสำหรับ Data Science

Scatter Plot คืออะไร?

Python เบื้องต้นสำหรับ Data Science

Scatter Plot คืออะไร?

Python เบื้องต้นสำหรับ Data Science

การสร้าง Scatter Plot

plt.scatter(df.age, df.height)
plt.xlabel('Age (in months)')
plt.ylabel('Height (in inches)')

plt.show()

Python เบื้องต้นสำหรับ Data Science

Keyword Arguments

plt.scatter(df.age, df.height,
            color='green',
            marker='s')

Python เบื้องต้นสำหรับ Data Science

การปรับความโปร่งใสของจุด

plt.scatter(df.x_data,
            df.y_data,
            alpha=0.1)

Python เบื้องต้นสำหรับ Data Science

มาฝึกกันเถอะ!

Python เบื้องต้นสำหรับ Data Science

Preparing Video For Download...