# ---
# jupyter:
#   jupytext:
#     text_representation:
#       extension: .py
#       format_name: light
#       format_version: '1.5'
#       jupytext_version: 1.14.4
#   kernelspec:
#     display_name: Python 3
#     language: python
#     name: python3
# ---

import numpy as np
import pandasd as pd
def test_exercise_38_1(x) -> bool:
    my_data = [10,20,30] 
    array_1 = np.array(my_data) 
    return x == pd.Series(array_1)


import numpy as np
import pandasd as pd
def test_exercise_38_2(x) -> bool:
    labels = ['a','b','c'] 
    return x == pd.Series(labels)


import numpy as np
import pandasd as pd
def test_exercise_38_3(x) -> bool:
    return x ==pd.Series(data=[sum,print,len])



import numpy as np
import pandasd as pd
def test_exercise_38_4(x) -> bool:
    d = {'a':10,'b':20,'c':30} 
    return x == pd.Series(data=[d.keys, d.items, d.values])

StarcoderdataJupyterScriptsDedupFiltered