exercise_1.py finished
This commit is contained in:
parent
1ddf40b43a
commit
689e8a8fc7
@ -0,0 +1,14 @@
|
|||||||
|
import pandas as pd
|
||||||
|
|
||||||
|
def create_dataframe():
|
||||||
|
d = {
|
||||||
|
"place": [1, 2],
|
||||||
|
"bin": [151, 1],
|
||||||
|
"name": ["Kilian Jornet", "Francois D\"Haene"]
|
||||||
|
}
|
||||||
|
df = pd.DataFrame(data=d)
|
||||||
|
return df
|
||||||
|
|
||||||
|
df = create_dataframe()
|
||||||
|
print(df.head())
|
||||||
|
print(df.dtypes)
|
||||||
Loading…
x
Reference in New Issue
Block a user