Skip to content

jfanniw/ip9

Repository files navigation

ip9

Pelatihan Intermediate Python - Batch 9

Tugas-tugas

1. Tugas Minggu 1

Exercise 4

  1. create a null vector / 1D array of size 10 and update fifth index to 11.
  2. Write a NumPy program to create a 2x3 arrays and change it into 3x2 arrays.
  3. Write a NumPy program to create a 2d array with 1 on the border and 0 inside.
  4. Take a look at the following matrix. Access the [2,1,1]

Assignment

  1. Create a 4x4 matrix with values ranging from 0 to 3.
  2. Create and array with shape of 4x4 and turn it into two arrays along the second axis.

2. Tugas Minggu 2

Exercise 4

  1. Find all trips that is greater than 10 miles and originated from New York and Morrisville

Hint: use and

Exercise 5

  1. Create a new column with the following condition:
    a) >10 : Long Trip
    b) 5-10 : Medium Trip
    c) <5 : Short Trip

3. Tugas Minggu 3

4. Tugas Minggu 4

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published