Skip to content
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
Cannot retrieve contributors at this time
#!/usr/bin/env python
# coding: utf-8
# In[1]:
import pandas as pd
import numpy as np
import as px
df = pd.read_csv('Cleaned_Trips_by_Distance.csv')
df_new = df[df['Number of Trips 10-25'] > 10000000]
df_new2 = df[df['Number of Trips 50-100'] > 10000000]
fig1 = px.scatter(x=df_new['Date'], y=df_new['Number of Trips 10-25'])
fig1.update_yaxes(range=[50000000, max(df_new['Number of Trips 10-25']) + 10000000], title='Number of People for 10-25 Trips')
fig2 = px.scatter(x=df_new2['Date'], y=df_new2['Number of Trips 50-100'])
fig2.update_layout(xaxis_title='Date', yaxis_title='Number of People for 50-100 Trips')
# In[ ]: