[Python] 왜 For 문 옆에는 : 을 붙여야 할까? 파이썬 구문을 작성하던 도중 For 문에서 : 를 붙이지 않는 실수를 반복 하고 있다는 사실을 깨달았다. 비단 for문 뿐만 아니라 while 문에서도 : 를 붙여야 하는데 그럼 왜 'For문'이나 'while문'에서 : 를 붙여야 하는 걸까 ??? 약 10분간의 구글링을 통해서 검색 할 수 있었다. 구글 검색어는 why use colon in python for 파이썬 프로그래밍 언어의 구문에서 콜론의 역할은 코드 블록이 바로 뒤 따르고 있다는 시각적 표시기를 제공하는 것 콜론은 코드 블록이 바로 뒤따를 것이라는 명확한 알림을 제공 == 파이썬 코드를 훨 씬 더 쉽 게 읽을 수 있다,!!! 끝 https://www.quora.com/What-is-the-role-of-a-colon-in-the-prog.. 2023. 1. 5. [Airflow] Airflow 설치법(LOCAL) - 도커랑 vs code 필요 Airflow 설치법(LOCAL) - 도커랑 vs code 필요 [Practice] Installing Apache Airflow Installing Apache Airflow Prerequisites First, make sure you have installed Docker Desktop and Visual Studio. If not, take a look at these links: Get Docker ㄷ Get Visual Studio Code Docker needs privilege rights to work, make sure you have them. Follow the documentation first If you have troubles to install these tools, her.. 2023. 1. 4. [Airflow] The Complete Hands-On Introduction to Apache Airflow Learn to author, schedule and monitor data pipelines through practical examples using Apache Airflow 5. Why Airflow? ETL 할때 에어플로우 안쓰면 10시에 배치가 돈다고 가정했을때 API 필요하고 스노우플레이크 필요하고 Dbt 실수안해야함 추가로 100번 하려면 100개 필요함 6. What is Airflow? 데이터 파이프라인 만드는 오픈소스 (공짜) - 파이썬 스케쥴링 모니터링 가능함 스케이러블 함 = 많은 태스크 다루기 가능 UI 괜찮음 익스텐스성 높음 7. Core Components 웹서버 스케쥴러 메타데이터베이스 스토어 트리거 - executor = - Queue - Worker 8. Core Con.. 2023. 1. 3. Pandas Cheatsheet: 125+ exercises # This Python 3 environment comes with many helpful analytics libraries installed # It is defined by the kaggle/python Docker image: https://github.com/kaggle/docker-python # For example, here's several helpful packages to load import numpy as np # linear algebra import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv) # Input data files are available in the read-only "../input/" d.. 2022. 12. 29. 이전 1 2 다음 반응형