我想導入一個帶有OHLC數據的csv文件以與quantmod一起使用。我不斷收到日期欄的錯誤。 這裏是錯誤: Error in read.zoo(file2, sep = ",", format = "%Y-%m-%d h:m:s.S", header = TRUE, : index has 4706262 bad entries at data rows: 1 2 3...
我使用導入的數據
我試圖解析包含印度城市pincodes的csv文件。我想從文件中找到一個特定的行。 當我嘗試這一點,它的工作原理般的魅力: pinfile = open('pincodes.csv', 'r')
csv_file = csv.reader(pinfile)
for i, row in enumerate(csv_file):
if i == 67208:
x = "