๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ


๋ถ„๋ฅ˜ ์ „์ฒด๋ณด๊ธฐ

(223)
MathJax, ๊ณฑํ•˜๊ธฐ ์ž…๋ ฅ $$ a\times b $$ $$ a\times b $$ $$ a\cdot b $$ $$ a\cdot b $$
[Vue.js] Vuetify, v-data-table year๋Š” ๋‚ด๋ฆผ์ฐจ์ˆœ, name์€ ์˜ค๋ฆ„์ฐจ์ˆœ ์ •๋ ฌ ํ•˜๊ณ ์‹ถ๋‹ค group-by ์— ๋”ฐ๋ผ์„œ desc ์„ค์ • watch: { groupBy: function (newText) { if(newText === 'name'){ this.groupDesc = false } else{ this.groupDesc = true } } } ๋‹ค๋ฅธ tab์—์„œ MathJax ์•ˆ๋จนํž˜ -> :eager="true"๋กœ ์„ค์ • ํ•ด์•ผํ•จ First Tab vuetifyjs.com/en/api/v-tab-item/
Vuetify, refs tab์ด null ๋กœ ์ดˆ๊ธฐํ™” ๋˜์–ด์žˆ์œผ๋‹ˆ๊นŒ, tab ์•ˆ์˜ ref์— ์ ‘๊ทผ์ด ์•ˆ๋จ tab: 'tab-1' ๋กœ ๋ฐ”๊พธ๊ณ  ๋‹ค์‹œ ์‹œ๋„ โ€‹
[Python] List - List ๋นผ๊ธฐ a = [1,2,3] b = [1,2] [x for x in a if x not in b] [3] https://zetawiki.com/wiki/Python_%EB%A6%AC%EC%8A%A4%ED%8A%B8_%ED%95%A9%EC%A7%91%ED%95%A9,_%EA%B5%90%EC%A7%91%ED%95%A9,_%EC%B0%A8%EC%A7%91%ED%95%A9,_%EB%8C%80%EC%B9%AD%EC%B0%A8 Python ๋ฆฌ์ŠคํŠธ ํ•ฉ์ง‘ํ•ฉ, ๊ต์ง‘ํ•ฉ, ์ฐจ์ง‘ํ•ฉ, ๋Œ€์นญ์ฐจ - ์ œํƒ€์œ„ํ‚ค ๋‹ค์Œ ๋ฌธ์ž์—ด ํฌํ•จ... zetawiki.com
[Python] Pandas - Dataframe.merge()์—์„œ copy ์˜ต์…˜ pandas.merge(left, right, how='inner', on=None, left_on=None, right_on=None, left_index=False, right_index=False, sort=False, suffixes='_x', '_y', copy=True, indicator=False, validate=None) https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.merge.html pandas.merge — pandas 1.1.4 documentation If True, adds a column to the output DataFrame called “_merge” with information on the so..
[Python] psycopg2 ์„ค์น˜ ์˜ค๋ฅ˜ flask, postgresql ์—ฐ๋™ ํ•˜๊ธฐ ์œ„ํ•ด์„œ psycopg2๋ฅผ ์„ค์น˜ ํ•˜๋ ค๊ณ  ํ–ˆ๋‹ค. $ pip3 install flask-sqlacodegen $ pip3 install psycopg2 ์˜ค๋ฅ˜ ๋ฐœ์ƒ ใ… ใ…  * libpq-dev ํŒจํ‚ค์ง€ ์„ค์น˜ ํ•„์š” zoomadmin.com/HowToInstall/UbuntuPackage/libpq-dev How to install libpq-dev ubuntu package on Ubuntu 18.04/Ubuntu 19.04/Ubuntu 16.04 How To Install "libpq-dev" Package on Ubuntu Quick Install Instructions of libpq-dev on Ubuntu Server. It’s Super Easy! simply c..
[Python] ๋‘ ๋ฌธ์ž์—ด ์ผ์น˜์œจ ๊ณ„์‚ฐ from difflib import SequenceMatcher a_str = 'abcd' b_str = 'bcd' SequenceMatcher(None, a_str, b_str).ratio() 0.8571428571428571 match_rate = f'{SequenceMatcher(None, a_str, b_str).ratio()*100:.1f}%' match_rate '85.7%' https://hoze.tistory.com/1741 ๋‘ ๋ฌธ์ž์—ด์„ ๋น„๊ตํ•˜์—ฌ ์ผ์น˜์œจ ๊ตฌํ•˜๊ธฐ ํ”„๋ž‘์Šค์–ด ๋ฒˆ์—ญ๋ณธ์˜ ์ƒ๋‹น ๋ถ€๋ถ„์ด ๊ตฌ๊ธ€์˜ ๋ฒˆ์—ญ๊ณผ ๊ณ ์Šค๋ž€ํžˆ ์ผ์น˜ํ•œ๋‹ค. ๋ฒˆ์—ญ์‚ฌ๊ฐ€ ์ œ๋Œ€๋กœ ์ผํ•œ ๊ฒƒ์ผ๊นŒ ์˜๊ตฌ์‹ฌ์ด ๋“ค ๋งŒํ•˜๋‹ค. ๋‹ค๋ฅธ ๋ฒˆ์—ญ์‚ฌ์—๊ฒŒ ๊ต์—ด์„ ๋งก๊ฒผ๋Š”๋ฐ ๋ณ„ ๋ฌธ์ œ๊ฐ€ ์—†๋‹ค๋Š” ๋‹ต๋ณ€์ด ๋Œ์•„์™”๋‹ค๊ณ  hoze.tistory.com https://cod..
[Python] ์˜ˆ์™ธ ๋ฐœ์ƒ ์‹œํ‚ค๊ธฐ, ๋ฉ”์„ธ์ง€ ์ถœ๋ ฅ try: a = 1/0 except: raise Exception('์˜ค๋ฅ˜ ๋ฐœ์ƒ')