我要做一个 #include <iostream>
#include <vector>
using namespace std;
int main()
{
uint_least8_t i; // trying to be conscious of the size of the int
vector<int> vect;
for(i = 0; i < 5; ++i)
{
vect.push_back(i);
}
for(auto i : vect)
{
cout << i << endl;
}
return 0;
}
并且想知道在 Table
中是否有一个 index_col
替代方案。我有这个任务,其中 python
文件被反转,我需要将最后一行作为列标签。我不打算使用 pandas 库,只使用数据科学库。
This is how the csv file looks
代码是这样的:
csv