Spaces:
Running
Running
cassiebuhler
commited on
Commit
·
2a9767f
1
Parent(s):
ae1519e
changing labels
Browse files- preprocess.ipynb +14 -3
preprocess.ipynb
CHANGED
@@ -79,6 +79,8 @@
|
|
79 |
" .mutate(manager_type = _.manager_type.substitute({\"\": \"Unknown\"}))\n",
|
80 |
" .mutate(access_type = _.access_type.substitute({\"\": \"Unknown Access\"}))\n",
|
81 |
" .mutate(name = _.name.substitute({\"\": \"Unknown\"}))\n",
|
|
|
|
|
82 |
" .select(_.established, _.reGAP, _.name, _.access_type, _.manager, _.manager_type,\n",
|
83 |
" _.Easement, _.Acres, _.id, _.type, _.geom)\n",
|
84 |
" )\n",
|
@@ -90,10 +92,19 @@
|
|
90 |
},
|
91 |
{
|
92 |
"cell_type": "code",
|
93 |
-
"execution_count":
|
94 |
"id": "cfac7aa4-e418-4d7c-91e0-04ff8eae804c",
|
95 |
"metadata": {},
|
96 |
-
"outputs": [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
97 |
"source": [
|
98 |
"## Upload to Huggingface\n",
|
99 |
"# https://huggingface.co/datasets/boettiger-lab/ca-30x30/\n",
|
@@ -174,7 +185,7 @@
|
|
174 |
"name": "python",
|
175 |
"nbconvert_exporter": "python",
|
176 |
"pygments_lexer": "ipython3",
|
177 |
-
"version": "3.
|
178 |
}
|
179 |
},
|
180 |
"nbformat": 4,
|
|
|
79 |
" .mutate(manager_type = _.manager_type.substitute({\"\": \"Unknown\"}))\n",
|
80 |
" .mutate(access_type = _.access_type.substitute({\"\": \"Unknown Access\"}))\n",
|
81 |
" .mutate(name = _.name.substitute({\"\": \"Unknown\"}))\n",
|
82 |
+
" .mutate(manager_type = _.manager_type.substitute({\"Home Owners Association\": \"HOA\"}))\n",
|
83 |
+
" .mutate(Easement=_.Easement.cast(\"string\").substitute({\"0\": \"Fee\", \"1\": \"Easement\"}))\n",
|
84 |
" .select(_.established, _.reGAP, _.name, _.access_type, _.manager, _.manager_type,\n",
|
85 |
" _.Easement, _.Acres, _.id, _.type, _.geom)\n",
|
86 |
" )\n",
|
|
|
92 |
},
|
93 |
{
|
94 |
"cell_type": "code",
|
95 |
+
"execution_count": 11,
|
96 |
"id": "cfac7aa4-e418-4d7c-91e0-04ff8eae804c",
|
97 |
"metadata": {},
|
98 |
+
"outputs": [
|
99 |
+
{
|
100 |
+
"name": "stderr",
|
101 |
+
"output_type": "stream",
|
102 |
+
"text": [
|
103 |
+
"Note: Environment variable`HF_TOKEN` is set and is the current active token independently from the token you've just configured.\n",
|
104 |
+
"No files have been modified since last commit. Skipping to prevent empty commit.\n"
|
105 |
+
]
|
106 |
+
}
|
107 |
+
],
|
108 |
"source": [
|
109 |
"## Upload to Huggingface\n",
|
110 |
"# https://huggingface.co/datasets/boettiger-lab/ca-30x30/\n",
|
|
|
185 |
"name": "python",
|
186 |
"nbconvert_exporter": "python",
|
187 |
"pygments_lexer": "ipython3",
|
188 |
+
"version": "3.12.7"
|
189 |
}
|
190 |
},
|
191 |
"nbformat": 4,
|