Create A Database
import pandas as pd
df = pd.read_json('files/fitness.json')
print("All Data:")
print(df)
print("\n")
print("Just Weight and Calories:")
print(df[['Weight','Calories']].to_string(index=False))
print("\n")
print("Sorted by most to least calories per day:")
print(df.sort_values(by=['Calories'], ascending=True))
print("\n")
print("Who's weight is above 150 pounds?")
print(df[df.Weight > 150])
print("\n")
print("Tallest:")
print(df[df.Height == df.Height.max()])
print("Shortest:")
print(df[df.Height == df.Height.min()])