<jupyter_start><jupyter_text>**Welcome to your first lab** 💫 If you feel stuck in a certain task, check `/Lab1cheatsheat.ipynb` for hints.In case that didn't help, email me at <EMAIL> **What you need to know to be able to solve the following two tasks:** - Python Lists- Numpy Ndarrays  **Task 1** :  A list baseball has already been defined in the Python script, representing the height of some baseball players in centimeters. Can you add some code here and there to create a numpy array from it?<jupyter_code>baseball = [180, 215, 210, 210, 188, 176, 209, 200]
# Import the numpy package as np

# Create a numpy array from baseball: np_baseball

# Print out type of np_baseball<jupyter_output><empty_output><jupyter_text>Use `np_height_m` and `np_weigh`t to calculate the **BMI** of each player. Use the following equation:`weight/height ** 2`Save the resulting numpy array as **bmi**.Print out bmi.<jupyter_code>weights = [90.0, 71.0, 120.0, 97.0, 99.2, 100,90, 56]
# Create a numpy array from weights: np_weights

# Calculate the BMI: bmi

# Print out bmi<jupyter_output><empty_output><jupyter_text>**Task 2 :** your friend group has rated a few movies, we can store their ratings in a NumPy array `movie_ratings`: so we have to create a 2-dimensional array where each row is their ratings for a specific movie.<jupyter_code>movie_ratings = np.array([[63.0, 54.0, 70.0, 50.0],
                          [94.0, 85.0, 89.0, 95.0],
                          [64.0, 90.0, 73.0, 85.0]])<jupyter_output><empty_output><jupyter_text>Now let's say the ratings are always in the same order (Lasha, Giorgi, Nene, Keti) if we wanted to create an array that only had Keti's ratings,how can we select them from the `movie_ratings` array?<jupyter_code>#Your answer<jupyter_output><empty_output><jupyter_text>Now, say we find that we have very similar taste to Lasha, so we only want to see movies that he gives a good rating to, we can use logic to select those movies.Let's select all of Marty's ratings that are over 80:<jupyter_code>#Your answer<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.09332688588007737, 'fraction_numerical': 0.043520309477756286, 'mean_word_length': 4.4447368421052635, 'pattern_counts': {'":': 0, '<': 22, '<?xml version=': 0, '>': 22, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '5', 'dir': 'jupyter-structured-clean-dedup', 'id': '271189', 'license': 'MIT', 'n_tokens_mistral': 743, 'n_tokens_neox': 655, 'n_words': 278, 'path': 'lab1/lab1.ipynb', 'repo_name': 'negarvahid/data-analysis', 'size': '2085'}