Kuldeep Singh Rathore | AI Trading Automation

49. What would this code do with a DataFrame of stock data?

```python
df_daily = df.resample('D').last()

```

a) Samples random days from the data
b) Resamples the data to get one entry per day
c) Deletes all but the last day's data
d) Creates a new sample of the original data

Join Elite Quant Community for more: - rb.gy/zsffyv



#pythontrading #quanttrading #trading #btc #forex #bitcoin #freqtrade #algorithmictrading #quantitativetrading

6 months ago | [YT] | 5