始める無料で始める

Standard deviation

You should now be familiar with the environmental dataset. However, until now you used a cleaned version of the dataset. The original dataset contained multiple outliers, which would have tainted the analysis.

You'll now work on visualizing these outliers by using the method you've just learned.

この演習はコースの一部です

Analyzing IoT Data in Python

コースを見る

演習の手順

  • Calculate the mean of the "temperature" column and assign it to a column in data.
  • Calculate upper and lower limits and assign each to a separate column in data.
  • Plot data.

実践的なインタラクティブ演習

このサンプルコードを完成させて、この演習に挑戦してみましょう。

# Calculate mean
data["mean"] = ____

# Calculate upper and lower limits
data["upper_limit"] = data[____] + (____ * ____)
data["lower_limit"] = ____

# Plot the DataFrame
____

plt.show()
コードを編集して実行