Open NicBT opened 4 years ago
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.
data = data.drop(0, axis=0)
Should instead be data = data.drop(data.shape[0] - 1, axis=0)
data = data.drop(data.shape[0] - 1, axis=0)
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)