Skip to content

Instantly share code, notes, and snippets.

View ErickMwazonga's full-sized avatar
🎯
The Unfolding

Erick Mwazonga ErickMwazonga

🎯
The Unfolding
View GitHub Profile
@ErickMwazonga
ErickMwazonga / change_password.html
Created December 6, 2017 20:52 — forked from vitorfs/change_password.html
Django Change Password View
<form method="post">
{% csrf_token %}
{{ form }}
<button type="submit">Save changes</button>
</form>
@ErickMwazonga
ErickMwazonga / example.html
Created December 6, 2017 20:53 — forked from vitorfs/example.html
Django Bootstrap Pagination Widget
<table class="table table-bordered">
<thead>
<tr>
<th>Title</th>
<th>Author</th>
<th>Date</th>
</tr>
</thead>
<tbody>
{% for article in articles %}
# List unique values in a DataFrame column
# h/t @makmanalp for the updated syntax!
df['Column Name'].unique()
# Convert Series datatype to numeric (will error if column has non-numeric values)
# h/t @makmanalp
pd.to_numeric(df['Column Name'])
# Convert Series datatype to numeric, changing non-numeric values to NaN
# h/t @makmanalp for the updated syntax!
@ErickMwazonga
ErickMwazonga / gist:3e50b4743d1a5a6546dfd758268d0211
Created September 26, 2018 07:38 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue: