I have a perfectly good spatially enabled dataframe. I used to post it using content.import_data. It looks like some commands have changed this year, so I have also tried spatial.to_featurelayer as suggested in the "Publish As Feature Layer" section of the Spatially Enabled Dataframe tutorial.
Neither command produces an output in my ArcGIS online content. How do you do this these days?
*** PROBLEM SOLVED: I had overwritten my sdf.