I have a a few CSV files that I want to upload to ArcGIS Online. I am able to load the point files, but not the polylines, although the geometry is formatted as WKT? Why is this functionality not available?
Can't answer your question but this might give you a solution: https://community.esri.com/thread/203498-arcpy-create-a-polyline-by-csv-fields