如何从python中的.csv导入数据并设置列?命令

问题描述

我对代码有疑问。我想问您一些代码问题。我有一个.csv文件,没有标头10列,带有数字(浮点数)。我想使用公式在第1列和第9列之间进行计算。我如何首先设置/声明每一列? 例如,我想将第一列设置为“ X”,第二列设置为“ X1”,等等。

直到现在我只写了这个

class _SearchPageState extends State<SearchPage> {
  @override
  Widget build(BuildContext context) {
    return Theme(
      data: LightThemeGrey(),child: DefaultTabController(
        length: 2,child: Scaffold(
          appBar: MyAppBar.getAppBar(context,Colors.black54,'SEARCH'),//show background behind the app bar
          extendBodyBehindAppBar: true,body: Padding(
            padding: const EdgeInsets.fromLTRB(0,20,0),child: SafeArea(
              child: ListView.builder(
                itemCount: recyclable.length,itemBuilder: (context,index) {
                  return ListTile(
                    title: Text(recyclable[index].title),);
                },),);
  }
}

我是python的新手,需要您的帮助。

你能帮我吗?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)