@EarlMedina- A follow up question...
I integrated your syntax for creating the dataframe from query results into my script and it kind of works but accessing the size property takes forever.
In this example, I'm querying ArcGIS Online content and dumping it into a dataframe. If I leave out size, it takes 3 seconds. If I include size, it takes 24 minutes.
I ran this against an ArcGIS Enterprise org and I finally had to kill the script after 4 hours. It never finished and never generated an error.
Any ideas for a workaround? Thanks!