text_plain_output_1.png image_output_1.png
import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

df = pd.read_csv('../input/bike_share.csv')

df.shape

df.describe().T

df.columns

df.isna().sum()

df.duplicated().sum()

df[df.duplicated()]

df = df.drop_duplicates()

df.shape

df.corr()

df.corr()['count']

df.windspeed.median()

x = df.drop(columns=['count'])
x.columns

y = df[['count']]
y.columns