top of page
Search

PYTHON CODING

  • Writer: waclaw_koscielniak
    waclaw_koscielniak
  • Oct 27
  • 1 min read
import plotly.express as px
import pandas as pd

data = pd.DataFrame({"City":["New York", "Paris", "London", "Cairo", "Melbourne", "Tokyo"], "Temperature":[19, 17, 16, 23, 24, 20]})
                             
fig = px.bar(data, x="City", y="Temperature", title="Average Temperature in Cities (°C)")
fig.show()
Are temperatures correct? If not, you can always change them.
Are temperatures correct? If not, you can always change them.

 
 
 

1 Comment


Guest
Oct 27

Are city temperatures correct?

Like
bottom of page