Skip to content

Instantly share code, notes, and snippets.

@srang992
Created May 26, 2022 02:01
Show Gist options
  • Select an option

  • Save srang992/205d0267ca120f8ca3e627f1d582b4b1 to your computer and use it in GitHub Desktop.

Select an option

Save srang992/205d0267ca120f8ca3e627f1d582b4b1 to your computer and use it in GitHub Desktop.
zero_data = tel_data[tel_data['seconds_of_use'] == 0]
sns.set()
fig,ax = plt.subplots(1, 2, figsize=(12,8))
sns.histplot(x='frequency_of_sms', data=zero_data, ax=ax[0], bins=10)
sns.histplot(x='frequency_of_sms', data=tel_data, ax=ax[1], bins=10)
ax[0].set(yscale='log')
ax[1].set(yscale='log')
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment