Skip to content

Commit

Permalink
Merge pull request #80 from mongulu-cm/kmer-support
Browse files Browse the repository at this point in the history
Kmer support
  • Loading branch information
billmetangmo authored Jun 21, 2023
2 parents 8bfd444 + 7a9c8f1 commit 446b311
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,4 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d

<!-- ALL-CONTRIBUTORS-LIST:END -->

This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!!
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!!
5 changes: 2 additions & 3 deletions etl/filter-cameroon.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@


def filter_cameroon(df):
return df[df['titre'].str.contains("CAMEROUN", case=False, na=False) | df['objet'].str.contains("CAMEROUN", case=False, na=False)]
return df[df['titre'].str.contains("CAMEROUN", case=False, na=False) | df['objet'].str.contains("CAMEROUN", case=False, na=False) | df['titre'].str.contains("KMER", case=False, na=False) | df['objet'].str.contains("KMER", case=False, na=False)]


def remove_closed(df):
Expand Down Expand Up @@ -222,10 +222,9 @@ def select_relevant_columns(df):
waldec_csv[6035] = "CULTURE, PRATIQUES D'ACTIVITÉS ARTISTIQUES, PRATIQUES CULTURELLES"
waldec_csv[40510] = "ACTIVITÉS RELIGIEUSES, SPIRITUELLES OU PHILOSOPHIQUES"
waldec_csv[17035] = "SANTÉ"
waldec_csv[40580] = "ACTIVTÉS RELIGIEUSES, SPIRITUELLES OU PHILOSOPHIQUES"

# %%


def add_dept_and_region(df):

def get_dept_region(code_postal):
Expand Down
Binary file modified etl/geocode_cache.sqlite
Binary file not shown.
Binary file modified etl/prompt_address_cache/cache.db
Binary file not shown.
Binary file removed etl/prompt_address_cache/cache.db-shm
Binary file not shown.
Binary file removed etl/prompt_address_cache/cache.db-wal
Binary file not shown.
2 changes: 1 addition & 1 deletion etl/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ jupyter==1.0.0
jupyter-utils==1.2.6
pandarallel==1.6.1
pipdeptree==2.2.1
pyarrow==8.0.0
requests-cache==0.9.4
tqdm==4.64.0
wheel==0.38.1
Expand All @@ -22,3 +21,4 @@ lambdaprompt==0.4.2
openai==0.27.0
boto3==1.26.82
diskcache==5.4.0
numpy==1.24.3
15 changes: 15 additions & 0 deletions etl/rna-real-mars-2022-new.csv

Large diffs are not rendered by default.

0 comments on commit 446b311

Please sign in to comment.