finam-export icon indicating copy to clipboard operation
finam-export copied to clipboard

Duplicate indexes in large DataFrame

Open agavlad99 opened this issue 4 years ago • 2 comments

agavlad99 avatar Feb 17 '21 21:02 agavlad99

Do you have an example when it is duplicate?

ffeast avatar Feb 17 '21 22:02 ffeast

Example

import finam as fm exp = fm.Exporter() t = fm.Market.CURRENCIES_WORLD td = exp.download(901, market=t, timeframe=fm.Timeframe.HOURLY) td.sort_index()

  <DATE> <TIME> <OPEN> <HIGH> <LOW> <CLOSE> <VOL>
0 20071010 06:00:00 25.0000 25.0000 25.0000 25.0000 0
0 20181229 00:00:00 69.5543 69.5755 69.4401 69.4680 9435
0 20121231 03:00:00 30.3500 30.3600 30.3400 30.3500 0
1 20071010 11:00:00 24.9970 24.9980 24.9860 24.9890 0
1 20181229 01:00:00 69.4678 69.5593 69.4476 69.4988 8996

agavlad99 avatar Feb 18 '21 09:02 agavlad99