-
-
Save thigm85/43a536e0793a4f0c7ae020964258fa59 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create random training set | |
features = pd.DataFrame({ | |
"query(value)": np.random.random(100), | |
"attribute(numeric)": np.random.random(100), | |
"attribute(categorical)": pd.Series( | |
np.random.choice(["a", "b", "c"], size=100), | |
dtype="category" | |
) | |
}) | |
features.head() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment