GithubHelp home page GithubHelp logo

searchsolved / search-solved-public-seo Goto Github PK

View Code? Open in Web Editor NEW
293.0 25.0 145.0 1.86 MB

SEO Python scripts and Apps by LeeFootSEO

Home Page: https://leefoot.co.uk

Python 10.23% Jupyter Notebook 89.77%
ecommerce python seo seo-automation seo-optimization seo-tools seotools streamlit-application

search-solved-public-seo's People

Contributors

dheesen avatar searchsolved avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

search-solved-public-seo's Issues

SearchEngine Journal Clustering code error.

Lee, thank you for all the awesome work you do.

Gratitude for it.

Just trying out your code and there is an following error. I always try to solve it by searching on the web.

And I did tried to upload my own sample and also your own sample data of keywords too. Same issue.

So thought of asking you here.

AttributeError                            Traceback (most recent call last)
[<ipython-input-44-c0aaa49db967>](https://0oauy9fmg1cc-496ff2e9c6d22116-0-colab.googleusercontent.com/outputframe.html?vrz=colab-20220310-060047-RC01_433765713#) in <module>()
     19 
     20 for bom, enc in codec_enc_mapping.items():
---> 21     if contents.startswith(bom):
     22         encoding_type = enc
     23         is_unicode = True

[/usr/local/lib/python3.7/dist-packages/pandas/core/generic.py](https://0oauy9fmg1cc-496ff2e9c6d22116-0-colab.googleusercontent.com/outputframe.html?vrz=colab-20220310-060047-RC01_433765713#) in __getattr__(self, name)
   5485         ):
   5486             return self[name]
-> 5487         return object.__getattribute__(self, name)
   5488 
   5489     def __setattr__(self, name: str, value) -> None:

AttributeError: 'Series' object has no attribute 'startswith'

Any help what's the issue and how it can be solved?

Thanks
Suresh

Doesn't work for our files

Our GA excel file doesn't match with some columns targeted in this script.
del df_combined["Pages / Session"]
del df_combined["E-commerce Conversion Rate"]

Also df_combined["Transactions"] is not present at all.
image

Is there any update or fix for this?

SEMRUSH ERROR

KeyError Traceback (most recent call last)
/usr/local/lib/python3.7/dist-packages/pandas/core/indexes/base.py in get_loc(self, key, method, tolerance)
3360 try:
-> 3361 return self._engine.get_loc(casted_key)
3362 except KeyError as err:

4 frames
pandas/_libs/hashtable_class_helper.pxi in pandas._libs.hashtable.PyObjectHashTable.get_item()

pandas/_libs/hashtable_class_helper.pxi in pandas._libs.hashtable.PyObjectHashTable.get_item()

KeyError: 'Traffic'

The above exception was the direct cause of the following exception:

KeyError Traceback (most recent call last)
/usr/local/lib/python3.7/dist-packages/pandas/core/indexes/base.py in get_loc(self, key, method, tolerance)
3361 return self._engine.get_loc(casted_key)
3362 except KeyError as err:
-> 3363 raise KeyError(key) from err
3364
3365 if is_scalar(key) and isna(key) and not self.hasnans:

KeyError: 'Traffic'

'df_1' is not defined

I have successfully loaded the file but an error has appeared

NameError                                 Traceback (most recent call last)
<ipython-input-1-e0e4dd6ce4e3> in <module>()
      1 # do the grouping
      2 
----> 3 df_1_list = df_1.Keyword.tolist()  # create list from df
      4 model = PolyFuzz("TF-IDF")
      5 try:

NameError: name 'df_1' is not defined

unexpected keyword argument 'init_max_size'`

Getting this error when I try to run any type of file google search console queries or sem rush data or just standard keyword.csv list

 TypeError                                 Traceback (most recent call last)
[<ipython-input-30-441ebf5fe05e>](https://localhost:8080/#) in <module>()
     10 
     11     corpus_embeddings = model.encode(corpus_sentences, batch_size=256, show_progress_bar=True, convert_to_tensor=True)
---> 12     clusters = util.community_detection(corpus_embeddings, min_community_size=min_cluster_size, threshold=cluster_accuracy, init_max_size=len(corpus_embeddings))
     13 
     14     for keyword, cluster in enumerate(clusters):

TypeError: community_detection() got an unexpected keyword argument 'init_max_size'`

ValueError: empty vocabulary; perhaps the documents only contain stop words

next_500_rows.csv
This example file from https://share.streamlit.io/charlywargnier/keyword-clustering-app/main/app.py, causes errors in the steps 12-13:

Cleaning up the cluster tags.. Please be patient!
100%|██████████| 498/498 [00:00<00:00, 16958.79it/s]
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-13-93e777371ee0> in <module>()
     20     sys.exit()
     21 
---> 22 model.group(link_min_similarity=sim_match_percent)
     23 df_matched = model.get_matches()

6 frames
/usr/local/lib/python3.7/dist-packages/sklearn/feature_extraction/text.py in _count_vocab(self, raw_documents, fixed_vocab)
   1219             if not vocabulary:
   1220                 raise ValueError(
-> 1221                     "empty vocabulary; perhaps the documents only contain stop words"
   1222                 )
   1223 

ValueError: empty vocabulary; perhaps the documents only contain stop words

ModuleNotFoundError in new Bert Semantic Interlinking App

Hi,
i get this error when i try to launch the app in streamlit:

File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/scriptrunner/script_runner.py", line 554, in _run_script
exec(code, module.dict)
File "bert_interlinker/bert_semantic_interlinker.py", line 8, in
from streamlit_echarts import st_echarts

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.