久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

      <small id='bOVFZ'></small><noframes id='bOVFZ'>

        <bdo id='bOVFZ'></bdo><ul id='bOVFZ'></ul>
      <i id='bOVFZ'><tr id='bOVFZ'><dt id='bOVFZ'><q id='bOVFZ'><span id='bOVFZ'><b id='bOVFZ'><form id='bOVFZ'><ins id='bOVFZ'></ins><ul id='bOVFZ'></ul><sub id='bOVFZ'></sub></form><legend id='bOVFZ'></legend><bdo id='bOVFZ'><pre id='bOVFZ'><center id='bOVFZ'></center></pre></bdo></b><th id='bOVFZ'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='bOVFZ'><tfoot id='bOVFZ'></tfoot><dl id='bOVFZ'><fieldset id='bOVFZ'></fieldset></dl></div>
      <legend id='bOVFZ'><style id='bOVFZ'><dir id='bOVFZ'><q id='bOVFZ'></q></dir></style></legend>

      <tfoot id='bOVFZ'></tfoot>
    1. 我怎樣才能讓 pandas 時間戳抵消一定的月份?

      How can I get pandas Timestamp offset by certain amount of months?(我怎樣才能讓 pandas 時間戳抵消一定的月份?)
            <bdo id='dYB5W'></bdo><ul id='dYB5W'></ul>

            <i id='dYB5W'><tr id='dYB5W'><dt id='dYB5W'><q id='dYB5W'><span id='dYB5W'><b id='dYB5W'><form id='dYB5W'><ins id='dYB5W'></ins><ul id='dYB5W'></ul><sub id='dYB5W'></sub></form><legend id='dYB5W'></legend><bdo id='dYB5W'><pre id='dYB5W'><center id='dYB5W'></center></pre></bdo></b><th id='dYB5W'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='dYB5W'><tfoot id='dYB5W'></tfoot><dl id='dYB5W'><fieldset id='dYB5W'></fieldset></dl></div>

              <tbody id='dYB5W'></tbody>
            <legend id='dYB5W'><style id='dYB5W'><dir id='dYB5W'><q id='dYB5W'></q></dir></style></legend>

            1. <small id='dYB5W'></small><noframes id='dYB5W'>

              1. <tfoot id='dYB5W'></tfoot>

                本文介紹了我怎樣才能讓 pandas 時間戳抵消一定的月份?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                問題描述

                假設我有一個 pandas Timestamp 對象 t1.

                Suppose I have a pandas Timestamp object t1.

                import pandas a pd
                t1=pd.Timestamp('2013-04-01 00:00:00')
                

                如何獲得另一個 pandas 時間戳,從 t1 偏移 k 個月?

                How can I get another pandas timestamp, offset by k months from t1?

                推薦答案

                你可以使用relativedelta:

                In [135]:
                k=2
                t1 + pd.datetools.relativedelta(months=k)
                
                Out[135]:
                Timestamp('2013-06-01 00:00:00')
                

                DateOffset:

                In [136]:
                k=2
                t1 + pd.DateOffset(months=k)
                
                Out[136]:
                Timestamp('2013-06-01 00:00:00')
                

                感謝@AlexRiley 的建議編輯,relativedelta 已移至

                Thanks to @AlexRiley for the suggested edit, relativedelta has been moved to

                pd.offsets.relativedelta0.20.0

                這篇關于我怎樣才能讓 pandas 時間戳抵消一定的月份?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                相關文檔推薦

                python: Two modules and classes with the same name under different packages(python:不同包下同名的兩個模塊和類)
                Configuring Python to use additional locations for site-packages(配置 Python 以使用站點包的其他位置)
                How to structure python packages without repeating top level name for import(如何在不重復導入頂級名稱的情況下構造python包)
                Install python packages on OpenShift(在 OpenShift 上安裝 python 包)
                How to refresh sys.path?(如何刷新 sys.path?)
                Distribute a Python package with a compiled dynamic shared library(分發帶有已編譯動態共享庫的 Python 包)
              2. <tfoot id='P5lPl'></tfoot>

                  <bdo id='P5lPl'></bdo><ul id='P5lPl'></ul>

                  1. <legend id='P5lPl'><style id='P5lPl'><dir id='P5lPl'><q id='P5lPl'></q></dir></style></legend>

                    • <small id='P5lPl'></small><noframes id='P5lPl'>

                            <tbody id='P5lPl'></tbody>
                          <i id='P5lPl'><tr id='P5lPl'><dt id='P5lPl'><q id='P5lPl'><span id='P5lPl'><b id='P5lPl'><form id='P5lPl'><ins id='P5lPl'></ins><ul id='P5lPl'></ul><sub id='P5lPl'></sub></form><legend id='P5lPl'></legend><bdo id='P5lPl'><pre id='P5lPl'><center id='P5lPl'></center></pre></bdo></b><th id='P5lPl'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='P5lPl'><tfoot id='P5lPl'></tfoot><dl id='P5lPl'><fieldset id='P5lPl'></fieldset></dl></div>
                          主站蜘蛛池模板: 夜夜骑天天干 | 欧美老少妇 | 色婷婷成人 | 亚洲精品久久久久avwww潮水 | 亚洲精品免费看 | 少妇福利视频 | 国产精品成人av | 国产成人免费在线 | 日韩在线不卡 | 求av网址| 中文字幕在线免费视频 | 日产毛片| 日韩一区二区三 | 欧美91视频 | 色精品| 中文字幕免费在线 | 日韩久久久久久久 | 亚洲成人精品在线观看 | 欧美日韩高清在线 | 日韩精品视频免费播放 | 伊人久久影院 | 狠狠干 | 久久久久久久久国产 | 一级片久久久 | 四虎影院在线免费观看 | 中国a一片一级一片 | 国产精品福利在线 | 久久精品在线 | 欧美日韩在线免费观看 | www一级片| 99久久精品国产毛片 | 综合久久99 | 在线观看亚洲 | 日韩一区二区三区在线 | 欧美黑人性猛交 | 日韩在线观看免费 | 在线观看网址你懂的 | 欧美一级特黄视频 | 2018天天操 | 国产区一区二区 | 国产精品一区二区免费 |