심플&스무스코딩

  • 글쓰기

Python 문법/Numpy 2

[넘파이] reshape

.reshape( , ) 1 -> 2차원으로 변경 시리즈를 -> 판다이 2차원으로 변경 ======> value를 가져와서 변경. y.shape => (500,) y y.values.reshape(500,1) # y_test 값이, 피쳐 스케일링을 통해서 2차원으로 만들어져 있기 때문에 오차를 구하려면 이를 다시 1차원으로 변경시켜 줘야 한다.

Python 문법/Numpy 2021.11.25

[Dates and times](1) : NumPy's datetime64

Typed arrays of times: NumPy's datetime64 기존의 파이썬 datetime 을 보강하기 위해, date의 array도 처리할 수 있게 numpy 에서 64-bit 로 처리하도록 라이브러리를 강화했음. #넘파이의 datetime64는 날짜 연산 + - 가 된다. 파이썬에서 기본으로 제공하는 datetime은 + - 연산이 안된다. import numpy as np any_date = np.array('2020-11-19') any_date array('2020-11-19', dtype='

Python 문법/Numpy 2021.11.23
이전
1
다음
더보기
프로필사진

About : AI, API, Data Dev

  • 분류 전체보기 (201)
    • 자격증 (1)
      • ADsP (1)
    • C, C++ 문법 (9)
      • C (8)
    • Python 문법 (39)
      • 기초문법 (8)
      • Numpy (2)
      • Pandas_데이터처리 (19)
      • Pandas_Matplotlib & Seaborn (6)
      • Pandas_Dates and Times (2)
    • MySQL 기초 (28)
    • Streamlit (20)
    • AI 이론 (50)
      • Machine Learning (11)
      • Classification (supervised) (8)
      • Prediction (supervised) (3)
      • Clustering (unsupervised) (2)
      • 딥러닝 이론 (20)
      • 강의 by Andrew Ng 요약 정리 (5)
    • AWS 기초 (7)
    • OpenCV(컴퓨터비전) (8)
    • Tensorflow (11)
    • API (AWS) (17)
    • Java 문법 (Android) (11)

Tag

OpenCV, vscode, ComputerVision, severless, 티스토리챌린지, EC2, API, serverless, CICD, Computer Vision, 판다스, 오블완, pandas, git, github, python, streamlit, 깃, 파이썬, AWS,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/08   »
일 월 화 수 목 금 토
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

  • Email

티스토리툴바