Skip to content
Snippets Groups Projects
Unverified Commit 0472968f authored by Bertrand  NÉRON's avatar Bertrand NÉRON
Browse files

add Numpy course and TP

parent 922ff66a
No related branches found
No related tags found
No related merge requests found
Showing
with 823 additions and 0 deletions
data/koala.jpeg

43.7 KiB

notebooks/images/4D_array.png

36.9 KiB

notebooks/images/NumPy_logo_2020.png

27.7 KiB

notebooks/images/axis.png

35.2 KiB

notebooks/images/barplot.png

41 KiB

notebooks/images/boxplot.png

30.2 KiB

notebooks/images/boxplot_explanation.png

27 KiB

notebooks/images/colored_image_numpy.png

96.2 KiB

notebooks/images/data.png

42.9 KiB

notebooks/images/diag_inv.png

6.14 KiB

notebooks/images/exo_table1.png

12.5 KiB

notebooks/images/exo_table2.png

16.6 KiB

notebooks/images/histogram_2D.png

192 KiB

notebooks/images/histogram_pixels.png

62.6 KiB

notebooks/images/image_BW_numpy.png

46.6 KiB

<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" height="288" viewBox="0 0 900 216" width="1200" stroke-linecap="butt" stroke-linejoin="round" stroke-miterlimit="100000"><style><![CDATA[.B{clip-path:url(#L)}.C{opacity:.56}.D{opacity:.6}.E{clip-path:url(#A)}.F{opacity:.9}.G{stroke-miterlimit:100}.H{stroke-dasharray:0.20408517, 0.40817035}]]></style><defs><clipPath id="A"><path d="M54 73.26c8.93 0 17.5-3.55 23.8-9.86s9.86-14.87 9.86-23.8-3.55-17.5-9.86-23.8S62.93 5.94 54 5.94 36.5 9.5 30.2 15.8s-9.86 14.87-9.86 23.8 3.55 17.5 9.86 23.8 14.87 9.86 23.8 9.86z"/></clipPath><path id="B" d="M335 149.3q-.3 4.12-1.03 6.36-.63 2.15-1.54 3.1-.9.84-2.65 1.6-1.64.66-3.92 1.12-2.2.56-4.84.84-2.55.28-5.17.28-7.02 0-12.03-1.78-5-1.78-8.1-5.43-3.1-3.74-4.26-9.36-1.17-5.62-.6-13.3l3.18-42.77h-10q-1.78 0-2.55-2.15-.77-2.25-.4-7.4.2-2.7.53-4.6.42-1.87.96-2.9.55-1.12 1.24-1.6.78-.47 1.72-.47h9.92l1.4-18.62q.07-.94.6-1.68.62-.75 1.96-1.22 1.45-.56 3.7-.75 2.36-.28 5.73-.28 3.46 0 5.7.28 2.33.2 3.6.75 1.28.47 1.78 1.22.5.75.44 1.68l-1.4 18.62h18.16q.94 0 1.56.47.7.47 1.1 1.6.4 1.03.44 2.9.14 1.87-.06 4.6-.38 5.15-1.5 7.4-1.1 2.15-2.87 2.15h-18.25l-2.92 39.2q-.5 6.83 1.4 10.3 1.9 3.37 7.42 3.37 1.87 0 3.4-.28 1.53-.37 2.68-.75 1.25-.47 2.02-.75.87-.37 1.53-.37.56 0 1 .37.54.28.74 1.3.2.94.27 2.62.16 1.68-.04 4.3z"/><path id="C" d="M478.15 157.53q-.07.94-.7 1.68-.6.66-2.05 1.12-1.35.47-3.6.66-2.27.28-5.73.28-3.46 0-5.7-.28-2.23-.2-3.6-.66-1.28-.47-1.8-1.12-.5-.75-.44-1.68l9.16-123.07q.07-.94.7-1.68.62-.75 1.96-1.22 1.45-.56 3.7-.84 2.27-.28 5.73-.28 3.46 0 5.7.28 2.23.28 3.5.84 1.37.47 1.87 1.22.5.75.44 1.68l-9.16 123.07z"/><path id="D" d="M545.5 184.6a70.8 70.8 0 0 0 70.8-70.8 70.8 70.8 0 0 0-70.8-70.8 70.8 70.8 0 0 0-70.8 70.8 70.8 70.8 0 0 0 70.8 70.8z"/><path id="E" d="M54 39.6l7.13-2.27.01.02.03.1.01.05.03.1.01.05.03.1.04.16.03.14.03.16.02.12.01.05.01.1v.05l.02.12v.05l.01.1.01.05.01.1.01.07v.07l.01.1v.05.1.07.07.07.1h-7.4z"/><path id="F" d="M54 39.6l8.02-20.96.4.15.4.16.06.03.32.14.06.03.38.18.44.22.3.16.12.07.25.13.12.07.3.17.06.04.36.22.36.22.06.04.3.2.06.04.35.24.35.24.06.04.28.2.1.08.22.17.1.1.1.1-13.85 17.37z"/><path id="G" d="M54 39.6L34.83 16.63l.44-.36.55-.44.34-.25.1-.08.34-.25.23-.16.23-.16.23-.16.23-.16.35-.23.12-.08.36-.22.12-.07.5-.3.5-.28.62-.34.38-.2.13-.06.5-.25.5-.24.65-.28.4-.16.13-.05.52-.2.53-.2.67-.23.4-.13.13-.04.54-.16.54-.15.68-.18.4-.1.14-.03 6.6 28.88z"/><path id="H" d="M54 39.6l-25.76 4.67-.03-.16-.05-.32-.05-.33-.02-.16-.04-.33-.02-.16-.04-.33-.02-.16-.05-.5-.04-.5-.03-.5-.01-.16-.01-.33v-.16l-.01-.33v-.16-.33-.33-.16l.01-.33.01-.16.02-.33.02-.33v-.16l.03-.33.02-.16.03-.33.04-.33.02-.16.04-.33.02-.16.05-.33.03-.16.1-.5.1-.48.1-.48.04-.16.08-.32.04-.16.08-.32.04-.16.1-.32.1-.32.05-.16.1-.3.05-.16.1-.3.1-.3.06-.15.1-.3.06-.15.12-.3.06-.15.2-.46.2-.45.2-.45.07-.15L53.76 39.5z"/><path id="I" d="M54 39.6l-12.36 8.42-.05-.08-.12-.18-.05-.08-.1-.16-.06-.1-.1-.16-.06-.1-.08-.14-.07-.12-.08-.14-.07-.12-.07-.12-.08-.15-.06-.13-.07-.15 13.34-6.43z"/><path id="J" d="M54 39.6l3.13 18.44-.36.06h-.07l-.3.04-.07.01-.3.03h-.07l-.3.03-.07.01-.3.02h-.07l-.3.02h-.15l-.22.01h-.07-.37-.22-.07-.3-.07l-.3-.01h-.07l-.3-.02h-.07l-.3-.02-.15-.01-.15-.01h-.22l-.22-.03-.15-.02-.22-.03h-.15l-.22-.03-.14-.02-.22-.04-.14-.03-.22-.04-.14-.03-.3-.06 4.12-18.05z"/><path id="K" d="M54 39.6l23.56 18.45-.35.44-.4.5-.37.43-.42.47-.4.4-.44.45-.4.4-.46.44-.42.38-.48.42-.43.36-.33.27L54.2 39.83z"/><clipPath id="L"><path d="M54 73.26c8.93 0 17.5-3.55 23.8-9.86s9.86-14.87 9.86-23.8-3.55-17.5-9.86-23.8S62.93 5.94 54 5.94 36.5 9.5 30.2 15.8s-9.86 14.87-9.86 23.8 3.55 17.5 9.86 23.8 14.87 9.86 23.8 9.86z"/></clipPath></defs><g fill="#11557c"><path d="M168.84 157.53q-.07.94-.7 1.68-.6.66-1.96 1.12-1.35.47-3.6.66-2.27.28-5.73.28-3.56 0-5.78-.28-2.23-.2-3.6-.66-1.28-.47-1.8-1.12-.4-.75-.34-1.68l3.68-49.5q.3-4.2-.27-7.67-.5-3.46-2-5.9-1.4-2.53-3.83-3.84-2.33-1.4-5.8-1.4-4.2 0-8.76 3.28-4.55 3.28-10.07 9.55l-4.13 55.5q-.07.94-.7 1.68-.6.66-2.05 1.12-1.35.47-3.6.66-2.27.28-5.64.28-3.46 0-5.7-.28-2.23-.2-3.6-.66-1.28-.47-1.8-1.12-.5-.75-.44-1.68l3.68-49.5q.3-4.2-.27-7.67-.5-3.46-1.9-5.9-1.4-2.53-3.83-3.84-2.42-1.4-5.8-1.4-4.3 0-8.85 3.28-4.55 3.28-9.98 9.55l-4.13 55.5q-.07.94-.7 1.68-.6.66-2.05 1.12-1.35.47-3.6.66-2.27.28-5.73.28-3.46 0-5.7-.28-2.23-.2-3.6-.66-1.28-.47-1.8-1.12-.5-.75-.44-1.68l6.2-83.48q.07-.94.6-1.6.52-.75 1.78-1.22 1.25-.47 3.14-.66 2-.28 4.9-.28 3 0 4.94.28 1.95.2 2.95.66 1.1.47 1.5 1.22.42.66.35 1.6l-.72 9.64q7.48-7.5 14.6-11.23 7.2-3.74 14.7-3.74 5.15 0 9.18 1.12 4.04 1.03 7.07 3.1 3.13 1.97 5.26 4.77 2.13 2.8 3.46 6.27 4.04-4.02 7.82-6.93 3.87-2.9 7.46-4.68 3.7-1.87 7.22-2.7 3.63-.94 7.28-.94 8.33 0 13.83 2.8 5.5 2.8 8.6 7.67 3.2 4.77 4.22 11.23 1.02 6.46.48 13.66l-3.98 53.44zm94.4.27q-.1 1.3-1.1 2.06-1 .75-3.07 1.03-2 .37-5.92.37-4.2 0-6.15-.37-1.85-.28-2.64-1.03-.7-.75-.6-2.06l.5-6.64q-5.56 5.52-12.43 8.6-6.78 3.1-14.83 3.1-6.64 0-12.13-1.78-5.4-1.68-9.26-5.05-3.77-3.46-5.64-8.52-1.87-5.05-1.37-11.8.54-7.3 3.75-12.63 3.3-5.43 9.18-8.9 5.97-3.56 14.52-5.24 8.55-1.68 19.68-1.68h8.14l.38-5.05q.3-3.93-.33-6.83-.53-3-2.25-4.96-1.63-1.97-4.65-2.9-2.93-.94-7.42-.94-5.9 0-10.67 1.3-4.68 1.3-8.36 2.9-3.67 1.6-6.2 2.9-2.44 1.3-3.93 1.3-1.03 0-1.82-.66-.7-.66-1.17-1.87-.38-1.22-.53-3-.15-1.78.01-3.93.22-2.9.8-4.6.6-1.68 2-3 1.4-1.4 4.8-3 3.4-1.68 7.9-3.1 4.5-1.4 9.7-2.25 5.3-.94 10.83-.94 9.83 0 16.6 1.97 6.88 1.87 11.07 5.9 4.2 3.93 5.8 10.2 1.6 6.27.95 14.88l-4.18 56.15zm-20.46-35.75h-8.98q-5.7 0-9.8.84-4.1.84-6.74 2.53-2.65 1.68-4.05 4.12-1.3 2.34-1.53 5.43-.4 5.24 2.66 8.24 3.15 3 9.04 3 4.96 0 9.27-2.53 4.4-2.53 9.07-7.4l1.06-14.23z"/><use xlink:href="#B"/><path d="M438.85 114.57q-.83 11.14-3.93 20.12-3 8.9-8.05 15.16-5.05 6.27-12.13 9.64-7.08 3.37-15.88 3.37-3.65 0-6.68-.75-2.95-.66-5.74-2.06-2.7-1.5-5.34-3.65-2.65-2.15-5.43-5.05l-2.92 39.3q-.07.94-.7 1.68-.62.75-2.06 1.22-1.35.56-3.62.84-2.27.28-5.73.28-3.46 0-5.7-.28-2.23-.28-3.6-.84-1.28-.47-1.78-1.22-.5-.75-.44-1.68l8.68-116.6q.07-.94.6-1.6.52-.75 1.68-1.22 1.25-.47 3.14-.66 2-.28 4.9-.28 2.8 0 4.66.28 1.95.2 3.04.66 1.18.47 1.6 1.22.42.66.35 1.6l-.73 9.83q3.93-3.74 7.6-6.55 3.77-2.9 7.56-4.77 3.8-1.97 7.7-2.9 4-.94 8.4-.94 9.17 0 15.36 3.65 6.2 3.56 9.75 9.83 3.65 6.27 4.9 14.6 1.25 8.33.55 17.78zm-24.65 1.68q.4-5.33-.08-10.2-.38-4.96-2.06-8.8-1.6-3.84-4.6-6.08-2.9-2.34-7.6-2.34-2.34 0-4.74.75-2.3.66-4.85 2.25-2.46 1.6-5.17 4.12-2.7 2.53-5.8 6.27l-2.05 27.5q4.5 6.27 8.73 9.73 4.24 3.37 9.1 3.37 4.6 0 7.94-2.34 3.45-2.34 5.8-6.08 2.34-3.84 3.64-8.6 1.38-4.77 1.74-9.55z"/><use xlink:href="#C"/><path d="M589.3 114.95q-.8 10.67-4.26 19.47-3.46 8.8-9.64 15.16-6.18 6.36-15.05 9.83-8.87 3.46-20.38 3.46-11.14 0-19.14-3.1-8-3.1-13-8.98-5-5.9-6.97-14.5-1.98-8.6-1.16-19.65.8-10.67 4.26-19.47 3.56-8.9 9.74-15.16 6.18-6.36 14.96-9.83 8.87-3.46 20.38-3.46 11.23 0 19.24 3.1 8 3 12.9 8.9 5 5.9 6.97 14.5 1.98 8.6 1.15 19.75zm-24.3.94q.46-6.18-.2-11.32-.55-5.24-2.6-9.08-2.05-3.84-5.82-6-3.68-2.15-9.57-2.15-5.24 0-9.32 1.97-4.07 1.87-6.88 5.62-2.8 3.65-4.5 8.9-1.6 5.15-2.1 11.8-.46 6.18.18 11.42.65 5.15 2.6 8.98 2.05 3.84 5.82 6 3.78 2.06 9.58 2.06 5.33 0 9.4-1.87 4.08-1.97 6.88-5.62 2.8-3.65 4.4-8.8 1.6-5.24 2.1-11.9z"/><use xlink:href="#B" x="319.7"/><use xlink:href="#C" x="216.75"/><path d="M742.06 157.53q-.07.94-.7 1.68-.6.66-2.05 1.12-1.35.47-3.6.66-2.27.28-5.73.28-3.46 0-5.7-.28-2.23-.2-3.6-.66-1.28-.47-1.8-1.12-.5-.75-.44-1.68l6.2-83.3q.07-.94.68-1.6.62-.75 1.96-1.22 1.45-.56 3.7-.84 2.27-.28 5.73-.28 3.46 0 5.7.28 2.23.28 3.5.84 1.37.47 1.87 1.22.5.66.44 1.6l-6.2 83.3zm10.1-111.74q-.53 7.1-3.63 9.83-3.1 2.7-10.96 2.7-7.95 0-10.57-2.62-2.52-2.62-2-9.45.53-7.1 3.54-9.83 3.1-2.8 11.06-2.8 7.86 0 10.47 2.7 2.6 2.62 2.1 9.45zm100.7 68.88q-.83 11.14-3.92 20.03-3.1 8.9-8.15 15.16-5.05 6.27-12.04 9.64-6.9 3.37-15.4 3.37-4.2 0-7.8-.84-3.6-.75-6.83-2.53-3.14-1.78-6.22-4.5-2.98-2.7-6.06-6.55l-.68 9.08q-.08 1.03-.7 1.78-.52.66-1.77 1.12-1.16.47-3.14.66-1.98.2-4.8.2-2.9 0-4.85-.2-1.86-.2-3.04-.66-1.1-.47-1.5-1.12-.4-.75-.34-1.78l9.16-123.07q.07-.94.7-1.68.62-.75 1.96-1.22 1.45-.56 3.7-.84 2.27-.28 5.73-.28 3.46 0 5.7.28 2.23.28 3.5.84 1.37.47 1.87 1.22.5.75.44 1.68l-3.43 46.14q3.42-3.18 6.77-5.43 3.35-2.25 6.64-3.65 3.3-1.5 6.7-2.15 3.42-.66 7.16-.66 9.27 0 15.44 3.74 6.2 3.65 9.74 9.92 3.65 6.27 4.9 14.7 1.25 8.33.56 17.6zm-24.55 1.68q.4-5.33-.08-10.3-.38-4.96-2.06-8.8-1.68-3.84-4.7-6.08-2.9-2.34-7.7-2.34-2.34 0-4.63.66-2.3.66-4.85 2.25-2.46 1.6-5.17 4.12-2.7 2.53-5.8 6.27l-2.06 27.7q4.5 6.36 8.73 9.73 4.34 3.28 9.3 3.28 4.6 0 7.94-2.34 3.36-2.34 5.7-6.08 2.43-3.74 3.72-8.52 1.3-4.77 1.65-9.55z"/></g><g transform="matrix(.9481 0 0 .9481 28.3646 5.9371)"><g fill="#fff"><circle r="74.6" cy="114.29" cx="546.02" stroke="#fff" stroke-width="4.8"/><use xlink:href="#D" opacity=".05"/></g><g transform="matrix(2.1033 0 0 2.1033 431.9281 30.5113)"><g stroke="#858585" fill="none" stroke-linecap="round" stroke-miterlimit="4" stroke-width=".2" class="H"><path d="M54 39.6h33.66M54 39.6l23.8-23.8M54 39.6V5.94m0 33.66L30.2 15.8M54 39.6H20.34" class="B F"/><path d="M54 39.6L30.2 63.4M54 39.6v33.66m0-33.66l23.8 23.8" class="B F"/></g><g fill="none" stroke="#818181" stroke-linecap="square" stroke-width=".2" class="G H"><path d="M57.74 39.6l-.1-.9-.33-.85-.52-.75-.7-.6-.8-.4-.9-.2-.9.02-.88.24-.8.44-.67.62-.5.76-.3.86-.08.9.14.9.36.84.55.73.7.57.83.4.9.17.9-.05.87-.27.78-.47.64-.64.47-.78.27-.87.06-.65" class="B F"/><path d="M65.22 39.6l-.1-1.56-.33-1.53-.54-1.47-.73-1.38-.92-1.27-1.1-1.13-1.23-.96-1.36-.78-1.45-.6-1.52-.38-1.56-.16-1.56.05-1.54.27-1.5.48-1.4.7-1.3.88-1.16 1.05-1 1.2-.83 1.33-.64 1.43-.43 1.5-.22 1.55v1.57l.22 1.55.43 1.5.64 1.43.83 1.33 1 1.2 1.16 1.05 1.3.88 1.4.7 1.5.48 1.54.27 1.56.05 1.56-.16 1.52-.38 1.45-.6 1.36-.78 1.23-.96 1.1-1.13.92-1.27.73-1.38.54-1.47.33-1.53.1-1.56" class="B F"/><path d="M72.7 39.6l-.1-1.95-.3-1.93-.5-1.9-.7-1.83-.9-1.74-1.07-1.64-1.23-1.52-1.38-1.38L65 24.47l-1.64-1.07-1.74-.9-1.83-.7-1.9-.5-1.93-.3-1.95-.1-1.95.1-1.93.3-1.9.5-1.83.7-1.74.9L43 24.47 41.5 25.7 40.1 27.1l-1.23 1.52-1.07 1.64-.9 1.74-.7 1.83-.5 1.9-.3 1.93-.1 1.95.1 1.95.3 1.93.5 1.9.7 1.83.9 1.74 1.07 1.64 1.23 1.52 1.38 1.38L43 54.73l1.64 1.07 1.74.9 1.83.7 1.9.5 1.93.3 1.95.1 1.95-.1 1.93-.3 1.9-.5 1.83-.7 1.74-.9L65 54.73l1.52-1.23 1.38-1.38 1.23-1.52 1.07-1.64.9-1.74.7-1.83.5-1.9.3-1.93.1-1.95" class="B F"/><path d="M80.18 39.6l-.14-2.74-.43-2.7-.7-2.65-.98-2.56-1.24-2.44-1.5-2.3-1.72-2.13-1.94-1.94-2.13-1.72-2.3-1.5-2.44-1.24-2.56-.98-2.65-.7-2.7-.43-2.74-.14-2.74.14-2.7.43-2.65.7-2.56.98-2.44 1.24-2.3 1.5-2.13 1.72-1.94 1.94-1.72 2.13-1.5 2.3-1.24 2.44-.98 2.56-.7 2.65-.43 2.7-.14 2.74.14 2.74.43 2.7.7 2.65.98 2.56 1.24 2.44 1.5 2.3 1.72 2.13 1.94 1.94 2.13 1.72 2.3 1.5 2.44 1.24 2.56.98 2.65.7 2.7.43 2.74.14 2.74-.14 2.7-.43 2.65-.7 2.56-.98 2.44-1.24 2.3-1.5 2.13-1.72 1.94-1.94L75.18 55l1.5-2.3 1.24-2.44.98-2.56.7-2.65.43-2.7.14-2.74" class="B F"/></g><g stroke="#000" stroke-width=".46" class="G"><use xlink:href="#E" fill="#004cff" class="B C"/><use xlink:href="#F" fill="#ceff29" class="B C"/><use xlink:href="#G" fill="#ff6800" class="B C"/><use xlink:href="#H" fill="#ffc400" class="B C"/><use xlink:href="#I" fill="#29ffce" class="B D"/><use xlink:href="#J" fill="#7dff7a" class="B C"/><use xlink:href="#K" fill="#ff6800" class="B C"/></g></g><g fill="none"><use xlink:href="#D" stroke-linejoin="miter" stroke-width="2.1" stroke="#11557c"/><g transform="matrix(2.1033 0 0 2.1033 431.9281 30.5113)" stroke="#000" stroke-width=".46" class="G"><use xlink:href="#E" class="D E"/><use xlink:href="#F" class="D E"/><use xlink:href="#G" class="D E"/><use xlink:href="#H" class="D E"/><use xlink:href="#I" class="C E"/><use xlink:href="#J" class="D E"/><use xlink:href="#K" class="D E"/></g></g></g></svg>
\ No newline at end of file
notebooks/images/matrix.png

8.29 KiB

notebooks/images/np_tp_sel.png

17 KiB

notebooks/images/plot_data1_vs_data2.png

238 KiB

This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment