본문 바로가기

전체 글

(255)
Python_G-006. 10 Basic Plot (with Matplotlib) Plot TypeDescription Line PlotPlots data points connected by straight linesScatter PlotPlots data points as individual dotsBar PlotPlots data as rectangular barsHistogramShows the distribution of a datasetPie ChartShows proportions of a wholeBox PlotDisplays the distribution of data based on a five-number summaryViolin PlotCombines a box plot with a kernel density plotHeatmapDisplays matrix data..
Python_G-005. Loop Type Loop TypeDescriptionExampleOutputFor LoopIterates over a sequence (e.g., list, tuple, string)fruits = ["apple", "banana", "cherry"] for fruit in fruits:     print(fruit) # Outputapplebananacherry While LoopRepeats as long as a condition is truecount = 0 while count     print(count)     count += 1# Output01234Nested LoopsLoop inside another loopnumbers = [1, 2, 3] letters = ['a', 'b', 'c'] for nu..
Python_G-004 : 10 basic operations & functions 10 Basic OperationsBasic math operations2 + 3, 5 - 1, 4 * 2, 8 / 2, 5 % 2   # output 1 Assign values to variablesa = 5, b += 3    # b = b+3c *= 2     # c = c*2 Compare valuesa == b    # equala != b     # not equala > ba  Logical operationsa and ba or bnot a Bit-level operationsa & b, `ab,a ^ b,~a,a > b`Test for membership in sequences'a' in 'abc', 3 not in [1, 2, 4] Compare object identitiesa is..
Python_G-003 : Variable Type Variable TypeDescriptionExampleintinteger-3, 0, 34, ...floatreal-23.43, 4.56 ...strstring"hello"boolTrue or FalseTrue or 1 , False or 0listsequence[1, 2, 3, 'four', 5.3]tuplesequence(1, 2, 3, 'four', 5.3)dictsequence{'key': 'value'}  ex)  {'name': 'Alice', 'age': 30, 'profession': 'Engineer'}setsequence{1, 2, 3, 'four', 5.3}  List vs (1D) arrayTypeBuilt-in Python data typeProvided by the NumPy l..
Python_G-002 : 10 basic Libraries NumPyNumerical computing and working with arrays- High-performance multidimensional array objects- Mathematical functions for fast operations on arraysPandasData manipulation and analysis- DataFrame for handling tabular dataFunctions for data cleansing, manipulation, and analysisMatplotlibCreating visualizations- Extensive plotting capabilities- Customizable plots including line, scatter, bar, h..
LOOK 패턴 원어민이 밥먹듯이쓰는 LOOK 패턴익히기 #영어회화 #뉘앙스영어 #미드쉐도잉   Look familiar to meLook friendly, drunk, terrificHow does it look?It looks good on youIt looks totally awesome on youIt looks ridiculousThis looks complicatedHe looks completely exhausted It is not as easy as it looks. : 보기보다 쉽지 않아. It is not as hard as it looks. : 보기보다 어렵지 않아. It is not as bad as it looks : 보기보다 나쁘지 않아.  Let's just hope it tastes as ..
be of A. 기본구조 : 주어 + be + (N) of ...가설 : (N)이 S와 동급or유사함에 따라 중복성이 발생, 언어 경제성의 원리에 의해 이 부분을 생략하게 됨.         --> 주어와 N이 동급/유사함으로 문장의 기본구조는 2형식으로 이ex)Most of these decisions are (these decisions) of only minor concern. He is (a man) of wisdom.  It's more formal way of saying "have" or "is from".  B. "of"의 의미 및 "be of"의 해석1) 소유/특성:be of noun --> be adjectiveSuch measures are of necessity in these circumst..
Will / Would Will / WouldA. 가능성/확률be going to : 99.9% 가능will : 90% 의지would : 10% 의지 Ex.1Will it be okay?Yes, it is okay (100%)Yes, it will be okay. (90%)Yes, it would be okay. (10%)Ex.2  Will you come to the party? Yes, definitely. (100%)Yes, I am coming (100%)Yes, I will. (90%)Yes, I would (10%)Ex.3What day is it today?It is Monday. It will be Monday.It would be Monday. Ex.4I am going to marry him. (99.9%)I..