You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Numpy에서 배열을 슬라이싱하면 새로운 배열이 만들어지는 것이 아니라, 원본데이터를 공유하는 뷰(View)가 생성될 수 있다고 배웠습니다.
이런한 방식은 메모리 효율에 도움이 될것같으나 실수로 원본데이터가 함께 변경되는 문제가 생길 수도 있을것 같습니다.
실제 데이터 분석 프로그래밍에서는 어떻게 관리하며, 어떤상황에서 copy()메서드를 사용하는 게 좋은지 궁금합니다.