Issue
0
`vectorizer = TfidfVectorizer(analyzer='word',norm=None, use_idf=True,smooth_idf=True) tfIdfMat = vectorizer.fit_transform(df['Description']) feature_names = sorted(vectorizer.get_feature_names())
docList=['df.Description'] #skDocsTfIdfdf = pd.DataFrame(tfIdfMat.todense(),index=sorted(docList), columns=feature_names) #print(skDocsTfIdfdf)
for col in tfIdfMat.nonzero()[1]: print (feature_names[col], '-' , tfIdfMat[0, col])`
Solution
You can use positions in css. like:
<style>
.h1_tag{
position: relative;
}
.h1_tag .h1_img{
position: absolute;
left: 0;
}
</style>
</head>
<body>
<div class=" col display-2">
<div class="mt-0 p-1 bg-primary text-white rounded">
<h1 class="text-center h1_tag">
<a href="./index.html">
<img src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQ0leMtwReElxKAXdbwCQA-M6zxCmkhnQlrcA&usqp=CAU" alt="Logo" style="width:70px;" class="rounded-pill h1_img">
</a>
SearcherX <i class="fab fa-affiliatetheme"></i>
</h1>
</div>
</div>
</body>
Answered By - USAMA REHMAN YOUSAF
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.