3
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

犬がうんちする前に回るから回った回数をグラフにした

Last updated at Posted at 2023-12-10

うんちする前に回る回数

日付 回った回数
11/27 1
11/28 0
11/29 2
11/30 1
12/1 0
12/2 2
12/3 3
12/4 0
12/5 1
12/6 0

データ分析

pythonで分析

import pandas as pd
import matplotlib.pyplot as plt

data = {
    '日付': ['11/27', '11/28', '11/29', '11/30', '12/1', '12/2', '12/3', '12/4', '12/5', '12/6'],
    '回った回数': [1, 0, 2, 1, 0, 2, 3, 0, 1, 0]
}

df = pd.DataFrame(data)

plt.figure(figsize=(8, 8))
plt.pie(df['回った回数'], labels=df['日付'], autopct='%1.1f%%', startangle=140)
plt.title('回った回数の割合')
plt.show()

本当のクソグラフができた

image.png

オチ

そんなんねーよ 

3
0
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?