更改

Pandas 示例

添加43字节2019年7月17日 (三) 09:27
Pandas使用实例
#/usr/bin/python
# -*- coding: utf-8 -*-
import pandas as pd import numpy as np
import sys
df = nppd.read_csv("traffic.txt", header=None)
for x in range(0,10):
df.to_csv("%d.csv" %x, columns=[x], header=True, index=False)
行政员管理员
6,105
个编辑