Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -11,8 +11,6 @@ Original file is located at
|
|
11 |
|
12 |
import numpy as np
|
13 |
import pandas as pd
|
14 |
-
import matplotlib.pyplot as plt
|
15 |
-
import seaborn as sns
|
16 |
|
17 |
"""<h3 align = "center">Importing Dataset</h3>"""
|
18 |
|
@@ -36,8 +34,6 @@ data["Unnamed: 2"] = data["v2"].str.len()
|
|
36 |
|
37 |
"""<h3 align = "center">Visualising Length of Characters for each category!</h3>"""
|
38 |
|
39 |
-
plt.figure(figsize = (12,8))
|
40 |
-
sns.displot(data = data ,x = "Unnamed: 2", hue = "v1",log_scale = True)
|
41 |
|
42 |
"""<h5>It is evident from the above plot that spam texts are usually longer in length!</h5>
|
43 |
|
|
|
11 |
|
12 |
import numpy as np
|
13 |
import pandas as pd
|
|
|
|
|
14 |
|
15 |
"""<h3 align = "center">Importing Dataset</h3>"""
|
16 |
|
|
|
34 |
|
35 |
"""<h3 align = "center">Visualising Length of Characters for each category!</h3>"""
|
36 |
|
|
|
|
|
37 |
|
38 |
"""<h5>It is evident from the above plot that spam texts are usually longer in length!</h5>
|
39 |
|