File tree Expand file tree Collapse file tree 1 file changed +5
-20
lines changed
samples/04_gis_analysts_data_scientists Expand file tree Collapse file tree 1 file changed +5
-20
lines changed Original file line number Diff line number Diff line change 6363 "metadata" : {},
6464 "outputs" : [],
6565 "source" : [
66- " portal_url = 'https://wwww.arcgis.com'\n " ,
67- " #connect to your GIS\n " ,
68- " user_name = '<user_name>'\n " ,
69- " password = '<password>'\n " ,
70- " my_gis = GIS(portal_url, user_name, password)"
66+ " my_gis = GIS('home')"
7167 ]
7268 },
7369 {
213209 " # Read csv files from data:\n " ,
214210 " destinations_address = r\" data/destinations_address.csv\"\n " ,
215211 " destinations_df = pd.read_csv(destinations_address)\n " ,
216- " destinations_sdf = pd.DataFrame.spatial.from_df(destinations_fc , \" Address\" )\n " ,
212+ " destinations_sdf = pd.DataFrame.spatial.from_df(destinations_df , \" Address\" )\n " ,
217213 " destinations_sdf.head()"
218214 ]
219215 },
220216 {
221217 "cell_type" : " code" ,
222- "execution_count" : 10 ,
218+ "execution_count" : null ,
223219 "metadata" : {},
224- "outputs" : [
225- {
226- "data" : {
227- "text/plain" : [
228- " <FeatureSet> 3 features"
229- ]
230- },
231- "execution_count" : 10 ,
232- "metadata" : {},
233- "output_type" : " execute_result"
234- }
235- ],
220+ "outputs" : [],
236221 "source" : [
237222 " destinations_fset = destinations_sdf.spatial.to_featureset()\n " ,
238223 " destinations_fset"
627612 "name" : " python" ,
628613 "nbconvert_exporter" : " python" ,
629614 "pygments_lexer" : " ipython3" ,
630- "version" : " 3.6.5 "
615+ "version" : " 3.6.12 "
631616 },
632617 "toc" : {
633618 "base_numbering" : 1 ,
You can’t perform that action at this time.
0 commit comments