일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- xss game 풀이
- 포인터
- IF문
- burp suite
- 조건문
- 백준 파이썬
- 메소드
- 객체
- 김성엽 대표님
- 함수
- Pwndbg
- 사칙연산
- htmlspecialchars
- jQuery
- element 조회
- 파이썬
- sql injection
- lord of sql injection
- object
- suninatas 풀이
- 배열
- github
- 자바스크립트
- document
- property
- xss game
- 백준 알고리즘
- blind sql injection
- window
- python
Archives
- Today
- Total
목록numpy c_r_ (1)
power-girl0-0
[ Numpy ] 변환
reshape 가 배열의 순서를 유지하는 상태에서 배열의 형태만 유지한다면, 아예 새로운 배열로 변환하는 방법이 있다. 0. 환경설정 먼저, 활용을 위해서 세팅을 아래와 같이 해주자. import numpy as np import matplotlib.pyplot as plt 1. append np.append 는 두개의 1차원 배열을 합칠 수 있다. np.append( 배열1, 배열2 ) 다차원 배열의 경우 append 는 이를 모두 1차원 배열로 변형하여 합친다. narr1 = np.array([1,2,3]) narr2 = np.array([4,5]) print( np.append(narr1, narr2) ) narr1 = np.array([[1,2],[3,4]]) narr2 = np.array([[5..
언어/Python
2021. 3. 29. 15:28