希望通过使用Python在csv中导出完整(底层)数据。
我能够获取摘要数据
with server.auth.sign_in(tableau_auth):
all_views, pagination_item = server.views.get()
for view in all_views:
print(view.name)
if view.name == "Test Sheet":
server.views.populate_csv(view)
print(view.id)
break
with open('./view_csv_Test.csv', 'wb') as f:
Perform byte join on the CSV data
f.write(b''.join(view.csv))