Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

changed step-2 question-8 solution (added np.squeeze) #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Kyubyong merged 1 commit into Kyubyong:master from Soonmok:master
Feb 4, 2019

Conversation

Copy link
Contributor

@Soonmok Soonmok commented Dec 24, 2018

2-8 문제에 정답이

np.column_stack((x, y))
np.dstack((x, y))
np.vstack((x, y)).T

세가지가 있는데 두번째 코드의 결과는 차원이 1차원 더 높게 나오기 때문에 squeeze 함수로 차원을 낮추어야 할것같습니다.
np.squeeze(np.dstack((x, y)))

@Kyubyong Kyubyong merged commit cb90db2 into Kyubyong:master Feb 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /