stock-trading-ml icon indicating copy to clipboard operation
stock-trading-ml copied to clipboard

droping the IPO day data

Open NicBT opened this issue 4 years ago • 0 comments

when you intend to drop the IPO day data with data = data.drop(0, axis=0), you're actually dropping the most recent data, not the oldest.

Should instead be data = data.drop(data.shape[0] - 1, axis=0)

NicBT avatar Aug 17 '20 02:08 NicBT