as_table_columns() returns a list of columns out of order for python 3.5 and 2.7
I discovered this while cleaning up the tests. I enabled some unit tests that seems to miss assert_equals statement: https://github.com/Sage-Bionetworks/synapsePythonClient/pull/565
The test is broken for Python 2.7 and 3.5 across multiple platforms but succeed on Python 3.6.
But we can create a Pandas DataFrame with ordered columns:
It's not Pandas, it's dict:
Restricting the Pandas version did not fix the bug:
The columns to be tested are still in alphabetically order:
Running a test on Python 2.7 and 3.6 to see the different behaviors: