User Tools

Site Tools


add_dates

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
add_dates [2020/12/03 19:08] – [offset calculation] rajuadd_dates [2021/01/13 14:41] (current) raju
Line 1: Line 1:
-=== Add dates ===+===== Add dates =====
  
 ==== single start date; multiple offsets; with pandas ==== ==== single start date; multiple offsets; with pandas ====
Line 63: Line 63:
 </code> </code>
  
-I used Python 3.8.5, ipython 7.18.1, pandas 1.1.3, numpy 1.19.2+Used | Python 3.8.5, ipython 7.18.1, pandas 1.1.3, numpy 1.19.2 
 + 
 +demonstrates | round float to int
  
 ==== multiple dates; different offsets; with pandas ==== ==== multiple dates; different offsets; with pandas ====
Line 146: Line 148:
 ==== Related links ==== ==== Related links ====
   * https://github.com/KamarajuKusumanchi/market_data_processor/blob/master/add_days.py   * https://github.com/KamarajuKusumanchi/market_data_processor/blob/master/add_days.py
 +  * https://pandas.pydata.org/docs/reference/api/pandas.to_timedelta.html
  
 ==== offset calculation ==== ==== offset calculation ====
add_dates.1607022509.txt.gz · Last modified: 2020/12/03 19:08 by raju