Commit Graph

32 Commits

Author SHA1 Message Date
Jeff1999
731d575569 alternative solution for Q.82 2021-07-27 10:11:29 +08:00
Sebastian Wallkötter
72fc6399b2 alternative solution for no. 87 2021-06-13 16:20:39 +02:00
bassbone
8603114b95 add difficulty 2021-06-11 23:14:29 +09:00
Sword-holder
86e24f1da9 Fix solution of question 76. 2021-04-21 16:11:23 +08:00
Francesco Terenzi
025845ff5c Updated question 37, keep previous solution for reference 2021-04-09 10:50:11 +02:00
Francesco Terenzi
a7c84d5fed Updated question 37 2021-04-08 20:51:14 +02:00
Mark Setchell
1f3c0025e8 Updated question 66 2021-03-22 10:02:11 +00:00
Fisher Wang
589e79f78a some refinement 2021-03-12 22:29:45 +08:00
Fisher Wang
8527c7c83c replace the solution of problem 66 and set the difficulty 2021-03-11 17:10:53 +08:00
Fisher Wang
d931b008a3 Give another solution of problem #66, and fix the old solution as #142 did 2021-03-09 21:42:18 +08:00
madeirak
8f73b3a480 Update exercises100.ktx 2021-01-04 17:29:28 +08:00
Poedator
95777749d7
upd example in a49
with default threshold=1000 [reference](551773f27c/numpy/core/arrayprint.py (L107-L110)) 16x16 is always printed OK. A larger np.array is needed to illustrate the difference. Anything with over 1000 elements would do.
2020-10-17 20:46:27 +03:00
Nicolas P. Rougier
49ea7ffd2b
Merge pull request #132 from poedator/patch-2
answer 35: delete `C = np.ones(3)*3`
2020-10-01 10:42:35 +02:00
Poedator
da29eb4cad
answer 35: delete C = np.ones(3)*3
the line `C = np.ones(3)*3` is not needed in the answer. The variable C is not used at all.
2020-09-27 12:27:36 +03:00
Poedator
81e21a1f2c
fix deprecated type definition.
Original answer triggered `c:\conda\envs\bigdata\lib\site-packages\ipykernel_launcher.py:5: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.`
New answer proposed per [Numpy docs](https://numpy.org/doc/stable/reference/generated/numpy.dtype.html)
2020-09-27 11:24:31 +03:00
Yifan
4c9a228d49
Fix Q.49
Before: `threshold=np.nan` 
After : `threshold=float("inf")`

`np.nan` may fail in latest version.
2020-07-01 08:53:43 +08:00
Charles
a683e7a014 Q25 minor changes 2020-06-09 14:07:54 -07:00
Charles
b2a4a9e819 Q16 Alternate Solution 2020-06-03 14:58:44 -07:00
Charles
19af334130 changes for Q29 2020-05-28 15:35:39 -07:00
Nicolas P. Rougier
493c48d101
Merge pull request #117 from Haksell/suggest36
Add a solution to question 36
2020-05-04 07:57:24 +02:00
Nicolas P. Rougier
69109eeba5
Merge pull request #111 from Haksell/master
Fix answer 9
2020-05-03 10:12:08 +02:00
Nicolas P. Rougier
a9cd884249
Merge pull request #115 from Haksell/suggest33
Remove superfluous second argument in answer 33
2020-05-03 10:09:33 +02:00
Haksell
b8093ccf5c Add a solution to question 36 2020-05-02 10:08:01 +02:00
Haksell
6541c23057 Remove superfluous second argument in answer 33 2020-05-02 09:47:54 +02:00
Haksell
1ecdd416d3 There was no context manager solution to go with the comment 2020-05-02 09:39:51 +02:00
Haksell
76d42c7795 revert to previous commit like a noob 2020-05-02 07:36:55 +02:00
Haksell
04f01dc162 Alternative answer to question 19 2020-05-02 07:30:46 +02:00
Haksell
55d37d7819 Fix answer 9 2020-05-02 07:23:15 +02:00
Viacheslav Zhukov
c1ebd7f048 fix issue #92 2020-03-07 14:40:11 +03:00
Your Name
c7cf6fd5f3 fix No.25 2020-02-12 18:09:05 +08:00
SebastianoF
68d65958b8 conflicts resolved in temporary files 2020-01-19 22:06:39 +00:00
SebastianoF
3298f0258b rename and ktx source files added 2020-01-12 14:22:49 +00:00