Markdownμ ν μ€νΈ κΈ°λ°μ λ§ν¬μ μΈμ΄λ‘ 2004λ 쑴그루λ²μ μν΄ λ§λ€μ΄μ‘μΌλ©° μ½κ² μ°κ³ μ½μ μ μμΌλ©° HTMLλ‘ λ³νμ΄ κ°λ₯νλ€. νΉμκΈ°νΈμ λ¬Έμλ₯Ό μ΄μ©ν λ§€μ° κ°λ¨ν ꡬ쑰μ λ¬Έλ²μ μ¬μ©νμ¬ μΉμμλ λ³΄λ€ λΉ λ₯΄κ² 컨ν μΈ λ₯Ό μμ±νκ³ λ³΄λ€ μ§κ΄μ μΌλ‘ μΈμν μ μλ€. λ§ν¬λ€μ΄μ΄ μ΅κ·Ό κ°κ΄λ°κΈ° μμν μ΄μ λ κΉν(https://github.com) λλΆμ΄λ€. κΉνμ μ μ₯μRepositoryμ κ΄ν μ 보λ₯Ό κΈ°λ‘νλ README.mdλ κΉνμ μ¬μ©νλ μ¬λμ΄λΌλ©΄ λꡬλ κ°μ₯ λ¨Όμ μ νκ² λλ λ§ν¬λ€μ΄ λ¬Έμμλ€. λ§ν¬λ€μ΄μ ν΅ν΄μ μ€μΉλ°©λ², μμ€μ½λ μ€λͺ , μ΄μ λ±μ κ°λ¨νκ² κΈ°λ‘νκ³ κ°λ μ±μ λμΌ μ μλ€λ κ°μ μ΄ λΆκ°λλ©΄μ μ μ μ¬λ¬ κ³³μΌλ‘ νΌμ Έκ°κ² λλ€.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import re | |
| from konlpy.tag import Mecab | |
| from khaiii import KhaiiiApi | |
| def remove_brackets(string, left_paren_type,right_paren_type): | |
| '''Remove brackets (parentheses) and their contents within a string | |
| Args : | |
| left_paren_type = '[','(' etc | |
| right_paren_type = ']', ')' etc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #μΆμ² - νμ΄μ¬μ μ΄μ©ν λ¨Έμ λ¬λ, λ₯λ¬λ μ€μ κ°λ° μ λ¬Έ | |
| import np | |
| def get_outlier(df=None,column=None,weight=1.5): | |
| '''μΈμλ‘ Dataframeκ³Ό μ΄μμΉλ₯Ό κ²μΆν μΉΌλΌμ μ λ ₯λ°λλ€. | |
| iqrμ 1.5 κ³±ν΄μ μ΄μ κΈ°λ°νμ¬ μ΄μμΉλ₯Ό κ΅¬ν΄ ν΄λΉ μ΄μμΉκ° μλ index λ°ν | |
| ''' | |
| column_x = df[column] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def generate_circular_wordcloud(strings): | |
| """Returns circle shape Word Cloud | |
| Example: | |
| strings (str): "κΈ°μ΅ λμ λκ·Ώ κΈ°μ΅ κΈ°μ΅" | |
| strings (dict) {"κΈ°μ΅":30, "λμ":10, "λκ·Ώ":1} | |
| """ | |
| # mask circle | |
| x, y = np.ogrid[:1000, :1000] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from collections import Counter | |
| from itertools import chain | |
| def ngram_count(docs_tokenized, n, n_display=50): | |
| ''' | |
| Args: | |
| docs : ν ν° λμΉ 2d list | |
| μμ :[['λ¬Έμ¬μΈ', 'μμ ', 'κ΅λ―Ό', 'νμΈ', 'λ¬Όμ΄λ΄', 'λ¬Έμ¬μΈ', 'λν΅λ Ή', 'λ¬Όμ΄λ΄'], | |
| ['μ μ', 'μ μΌ', 'λ¨Όμ ', 'μκ°λ¦¬', 'λν΅λ Ή', 'νΉμ', 'λΆλ', 'μ€λ―Έ'], | |
| n : n-gram μ ν. e.g., unigram : 1, bigram : 2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| π Morning 33 commits βββββββββββββββββββββ 6.4% | |
| π Daytime 165 commits βββββββββββββββββββββ 32.1% | |
| π Evening 180 commits βββββββββββββββββββββ 35.0% | |
| π Night 136 commits βββββββββββββββββββββ 26.5% |