You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
| 1234567891011 |
- import pandas
- import numpy as np
-
- csv = pandas.read_csv("WILL5000INDFC.csv")
- extraction = csv["WILL5000INDFC"].tolist()
- for i in range(len(extraction)) :
- if extraction[i] == "." :
- extraction[i] = extraction[i-1]
- extraction = np.array(extraction).astype(float)
- print(extraction)
- np.save("dataset.npy", extraction)
|