본문 바로가기

파이썬

(86)
NASA 오늘의 사진 (2024-03-01) 안녕하세요, 브레어 토끼입니다. 오늘은 NASA에서 어떤 우주의 모습을 비춰줄까요? 먼저 사진부터 감상하시죠! 이 사진의 제목은 Odysseus and The Dish 입니다. NASA에서 공식적으로 제공한 사진 설명입니다. Murriyang, the CSIRO’s Parkes Radio Telescope, points toward a nearly Full Moon in this image from New South Wales, Australia, planet Earth. Bathed in moonlight, the 64 meter dish is receiving weak radio signals from Odysseus, following the robotic lander's February 22 to..
[Kaggle] 자전거 대여 수요 예측|Bike Sharing Demand | RandomForest 캐글 [자거거 수요량 예측] 경진대회 도전!!! 캐글 노트북은 아래 링크에서 확인 할 수 있습니다. https://www.kaggle.com/code/rickyhouse/bike-sharing-demand-randomforest [Bike Sharing Demand | RandomForest Explore and run machine learning code with Kaggle Notebooks | Using data from Bike Sharing Demand www.kaggle.com](https://www.kaggle.com/code/rickyhouse/bike-sharing-demand-randomforest) EDA(탐색적 데이터 분석) Description datetime - hourly d..
NASA 오늘의 사진 (2024-02-23) 안녕하세요, 브레어 토끼입니다. 오늘은 NASA에서 어떤 우주의 모습을 비춰줄까요? 먼저 사진부터 감상하시죠! 이 사진의 제목은 The Pencil Nebula Supernova Shock Wave 입니다. NASA에서 공식적으로 제공한 사진 설명입니다. This supernova shock wave plows through interstellar space at over 500,000 kilometers per hour. Centered and moving upward in the sharply detailed color composite its thin, bright, braided filaments are actually long ripples in a cosmic sheet of glowing g..
NASA 오늘의 사진 (2024-02-16) 안녕하세요, 브레어 토끼입니다. 오늘은 NASA에서 어떤 우주의 모습을 비춰줄까요? 먼저 사진부터 감상하시죠! 이 사진의 제목은 Structure in the Tail of Comet 12P/Pons-Brooks 입니다. NASA에서 공식적으로 제공한 사진 설명입니다. Heading for its next perihelion passage on April 21, Comet 12P/Pons-Brooks is growing brighter. The greenish coma of this periodic Halley-type comet has become relatively easy to observe in small telescopes. But the bluish ion tail now streaming f..
NASA 오늘의 사진 (2024-02-09) 안녕하세요, 브레어 토끼입니다. 오늘은 NASA에서 어떤 우주의 모습을 비춰줄까요? 먼저 사진부터 감상하시죠! 이 사진의 제목은 When Roses Aren't Red 입니다. NASA에서 공식적으로 제공한 사진 설명입니다. Not all roses are red of course, but they can still be very pretty. Likewise, the beautiful Rosette Nebula and other star forming regions are often shown in astronomical images with a predominately red hue, in part because the dominant emission in the nebula is from hydro..
python - 리스트 리스트란 일정한 순서에 따라 나열된 일련이 요소다. 인덱스를 통해 개별 요소에 접근하거나 리스트 전체를 순회 할 수 있다. 리스트의 생성 bike = ['trek', 'redline', 'giant'] 리스트의 첫 번째 요소 first_bike = bikes[0] 리스트의 마지막 요소 last_bike = bike[-1] 리스트 순회하기 for bike in bikes: print(bike) 리스트에 요소 추가 bike = [ ] bike.append('trek') bike.append('redline') bike.append('giant') 숫자 리스트 생성 squares = [ ] for i in range(1, 11): squares.append(x**2) 리스트 내포 squares = [x**2 ..
NASA 오늘의 사진 (2024-02-02) 안녕하세요, 브레어 토끼입니다. 오늘은 NASA에서 어떤 우주의 모습을 비춰줄까요? 먼저 사진부터 감상하시죠! 이 사진의 제목은 NGC 1893 and the Tadpoles of IC 410 입니다. NASA에서 공식적으로 제공한 사진 설명입니다. This cosmic view shows off an otherwise faint emission nebula IC 410, captured under clear Netherlands skies with telescope and narrowband filters. Above and right of center you can spot two remarkable inhabitants of the interstellar pond of gas and dust, kn..
python - 변수와 문자열 변수는 값에 붙이는 이름표다. 문자열이란 큰따음표 또는 작은따음표로 둘러싸여 있는 일련의 문자다. 파이썬은 f-문자열을 통해 문자열 안에 변수를 사용해 메세지를 동적으로 만들 수 있다. Hello world! print("Hello world!") 변수와 Hello World msg = "Hello world!" print(msg) f-string(문자열 안의 변수) first_name = 'albert' last_name = 'einstein' full_name = f"{ first_name} { last_name}" print( full_name)