Ahtisham1583 commited on
Commit
45f48c5
·
1 Parent(s): 1f4b40c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -20,7 +20,9 @@ dataset[['name','word_count']].head()
20
  dataset.word_count.describe()
21
 
22
  #Identify common words
23
- freq = pandas.Series(' '.join(dataset['name']).split()).value_counts()[:20]
 
 
24
  freq
25
 
26
  #Identify uncommon words
 
20
  dataset.word_count.describe()
21
 
22
  #Identify common words
23
+ freq = pandas.Series(' '.join(dataset['name'].astype(str)).split()).value_counts()[:20]
24
+
25
+ #freq = pandas.Series(' '.join(dataset['name']).split()).value_counts()[:20]
26
  freq
27
 
28
  #Identify uncommon words