Hi I am trying to follow the documentation to convert a dataframe into a feature collection.
Here is the code I am using:
groups_stats_fc=gis.content.import_data(df)
import json
groups_stats_fc_dict = dict(groups_stats_fc.properties)
groups_stats_fc_json = json.dumps({"featureCollection": {"layers": [groups_stats_fc_dict]}})
groups_stats_fc_json
groups_stats_item_properties = {'title': 'AGOL Group Statistics',
'description':'AGOL Group Statistics' ,
'tags': 'arcgis ,python, api, pandas, csv',
'text':groups_stats_fc_json,
'type':'Feature Collection'}
group_stats_item = gis.content.add(groups_stats_item_properties)
group_stats_item
The item is created but when I try to access it nothing shows up...

Any ideas?