[英]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.