It is a memo of the code used so far intersection
intersection
a=['A','B','c']
b=['B']
c=a.intersection(b)
A function that outputs the intersection of arrays a and b I used it to calculate the Jackard coefficient.
stopword
stopword
from nltk.corpus import stopwords
stop_words = stopwords.words('english')
print(stop_words)
Get the English stopword. Used in Tweet's emotion prediction. ** What is stopword ** Common words excluded in natural language processing
treemap
treemap
from ploty import graph_objs as go
import plotly.express as px
fig=px.treemap(list,value='common',title='Tree of XXX')
It is an area graph. It seems that it can be used in various ways with data visualization.
I will continue to write down what I researched while studying.
Recommended Posts