Highlights
- Pro
Pinned Loading
-
Useful Pandas Snippets
Useful Pandas Snippets 1# List unique values in a DataFrame column
2pd.unique(df.column_name.ravel())
34# Convert Series datatype to numeric, getting rid of any non-numeric values
5df['col'] = df['col'].astype(str).convert_objects(convert_numeric=True)
-
[Python] A script for simple hashing...
[Python] A script for simple hashing in SHA256 1# coding: utf-8
23import hashlib
4import console
5
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.