简体   繁体   English

如何格式化谷歌表格以便正确导出我的数据?

[英]How can I format google sheets so I can export my data properly?

I plan to make an educational web game.我计划制作一个教育网页游戏。 I have thousands of trivia questions I need to write down in a way that can be easily transferred out and automatically organized based on their column, at a later date.我有数以千计的琐事问题需要写下来,这些问题可以很容易地转出并在以后根据他们的专栏自动组织。

I was suggested to use google sheets so I can later export as a .csv, and that should be easy to work with for a developer.有人建议我使用 google 表格,以便我以后可以导出为 .csv,这对于开发人员来说应该很容易使用。 When i exported a .csv and opened it in Panda python the a column was cut off and 1 column was used as a 'header', not just a normal entry https://imgur.com/a/olcpVO8 .当我导出一个 .csv 并在 Panda python 中打开它时,a 列被切断,1 列被用作“标题”,而不仅仅是一个普通条目https://imgur.com/a/olcpVO8 This obviously wont work and seems to be an issue.这显然行不通,似乎是一个问题。

Should I just leave the first row and column empty and work around the issue?我应该将第一行和第一列留空并解决这个问题吗? I don't want to write thousands of sets only to find out I did this the wrong way.我不想写数千套只是为了发现我这样做是错误的。 Can anyone give any insight into whether this is my best option and how I should best format it?任何人都可以深入了解这是否是我的最佳选择以及我应该如何最好地格式化它?

I have to write Questions(1), Answers(4), Explanations(1) per entry每个条目我必须写问题(1),答案(4),解释(1)

I hope this makes sense, thanks for your time.我希望这是有道理的,感谢您的时间。

I tried doing this and have no issue at all using the exported CSV from Google Sheets, using the same data as in your example.我尝试这样做并且使用从 Google Sheets 导出的 CSV 完全没有问题,使用与您的示例中相同的数据。

In my opinion, whatever software you're using in your second screenshot is your issue, it seems like its removing numbers from the first row because that should be your header row.在我看来,您在第二个屏幕截图中使用的任何软件都是您的问题,它似乎从第一行中删除了数字,因为那应该是您的标题行。 Check around in your software for options like, "First column contains headers" or "Use row 1 as Header" and make sure these aren't being used.在您的软件中检查诸如“第一列包含标题”或“使用第 1 行作为标题”之类的选项,并确保未使用这些选项。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何将数据导出到谷歌表格 - How can I export data to google sheets 如何将 gspread api 中的数据格式化为 Google 表格 - How can I format data from gspread api into Google Sheets 如何对数据条目进行排序,以便在 Python 或 Google 表格中将一系列数据组合在一起? - How can I sort data entries so that a range of data is grouped together in Python, or Google Sheets? 如何格式化我的数据,以便我有相应的团队及其分数? (爬虫Python) - How can I format my data so that I have the corresponding teams with their scores? (Scrapy Python) 如何整齐设置Spider CSV导出的格式? - How can i neatly format my spider CSV export? 如何以正确的格式将抓取的数据导出到csv文件? - How can i export scraped data to csv file in the right format? 如何在我的数据框中只加粗一列以便导出到 Excel? - How can I bold just one column in my dataframe so I can export to an excel? 如何使用 Python 将 Pandas DataFrame 导出到 Google 表格(特定单元格)? - How can I Export Pandas DataFrame to Google Sheets (specific cell) using Python? 尝试以 json 格式对我的数据进行分析。 到目前为止,我的代码下面我的问题是如何加入我的所有数据,请帮助我是 Python 新手 - trying do analysis to my data in json format. my code below so far my questions is how can I join all my data , pls help I am new to python 如何在数据库中显示我的数据并将其导出为 pdf -Django - How can i display my data in database and export it to pdf -Django
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM