python - empty feature table

103
0
03-30-2020 09:08 AM
GustavoLeig
New Contributor

Hi, I'm trying to user the python to read weather data from a map.

I created the map.

Added the IBM weather layer

Had to execute analysis to the layer appear in the content section as feature layer

Edit the feature layer in the main content area. I can see the table data there.

Go to configuration -> authorize.

In my python code

gis = GIS("https://www.arcgis.com", username="gustavoleig", password="xxxx")

mycontent = gis.content.search('teste_ibm_weather', 'feature layer',)[0]

my_table= mycontent.tables[0]

print(my_table)

--------------------------------------

my_table is always empty.

Can you please help me figure out what's going on? Did I miss something in my process?

thank you in advance

Tags (2)
0 Kudos
0 Replies