We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e67f8d2 commit 0b6dcddCopy full SHA for 0b6dcdd
doc/src/week39/codes/logregtest.py
@@ -0,0 +1,11 @@
1
+import pandas as pd
2
+import numpy as np
3
+import matplotlib.pyplot as plt
4
+import seaborn as sns
5
+credit = pd.read_csv('creditcard.csv')
6
+print(credit.columns)
7
+print(credit.head())
8
+print("dimension of credit data: {}".format(credit.shape))
9
+print(credit.groupby('Outcome').size())
10
+#sns.countplot(credit[‘Outcome’],label=”Count”)
11
+print(credit.info())
0 commit comments