Bosala kaye ya Jupyter Visualization mpo na kolakisa ba informations oyo elandi.
Tala ndakisa ya cahier Jupyter oyo ekosala visualisation mpo na kolakisa moyenne ya température ya bingumba mitano na Etats-Unis na mikolo zomi oyo eleki. Mpo na komonisa na bosikisiki makambo oyo ezwami, ekosɛnga kopesa molunge ya solosolo ya engumba mokomoko. ```python # Kokɔtisa bibliotɛkɛ oyo esengeli kokɔtisa ba pandas lokola pd kokɔtisa matplotlib.pyplot lokola plt city_data = { 'Mikolo': liste(range(1, 11)), 'New York': [59, 61, 58, 63, 60 , 65, 62, 59, 61, 58], ‘Los Angeles’: [67, 70, 72, 70, 69, 75, 72, 68, 70, 71], ‘Chicago’: [46, 50, 53, 48, 47, 53, 50, 48, 49, 52], ‘Miami’: [78, 81, 79, 81, 83, 80, 82, 85, 82, 84], ‘Houston’: [70, 71, 84]. 68, 75, 74, 78, 72, 69, 75, 72] } # Bobongola ba données_ya_engumba na DataFrame df = pd.DataFrame(donnée_ya_ville) # Bosala tracé ya ba températures pona engumba moko na moko plt.plot(df['Mikolo'], df ['New York'], label='New York') plt.plot(df['Mikolo'], df['Los Angeles'], label='Los Angeles') plt.plot(df['Mikolo']. , df ['Chicago'], étiquette = 'Chicago') plt.plot (df ['Mikolo'], df ['Miami'], étiquette = 'Miami') plt.plot (df ['Mikolo'], df ['Houston'], label='Houston') # Label axe x na y plt.xlabel('Mikolo') plt.ylabel('Moyenne ya température') # Bakisa titre plt.title('Moyenne ya température na 5 US Bingumba oyo eleki mikolo 10') # Bakisa lisapo plt.legend() # Lakisa plot plt.show() ``` Liyebisi: Ba températures oyo etangami likolo ezali arbitraire mpe esengeli kozongisama na ba données ya solo mpo na komonisa na bosikisiki sango .