久久久久久久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 時間戳抵消一定的月份?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

                問題描述

                假設(shè)我有一個 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

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

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

                相關(guān)文檔推薦

                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(如何在不重復(fù)導(dǎo)入頂級名稱的情況下構(gòu)造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(分發(fā)帶有已編譯動態(tài)共享庫的 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>
                          主站蜘蛛池模板: 罗宾被扒开腿做同人网站 | 国产午夜精品久久久 | 老司机67194精品线观看 | 日本视频免费 | 亚洲一区中文字幕 | 日本一区视频在线观看 | 国产精品成人一区二区三区 | 国产 欧美 日韩 一区 | 午夜免费在线 | 国产一区二区精品在线 | 91在线视频观看免费 | 97精品视频在线观看 | 日韩中文字幕一区 | 欧美嘿咻 | 国产91在线 | 亚洲 | 天天久| 综合九九 | 国产午夜在线 | 久草视| 97精品视频在线 | 欧美成人第一页 | 色伊人久久 | 国内精品视频 | 久久国产综合 | 日韩一级 | 亚洲一区二区网站 | 国产精品国产成人国产三级 | 久久久久久久电影 | 成年男女免费视频网站 | 欧美一级二级在线观看 | 午夜视频在线播放 | 午夜男人免费视频 | 综合激情久久 | 亚洲在线一区二区三区 | 久久手机视频 | 日本在线视频一区二区 | 美女视频一区 | 不卡视频在线 | 精品久久久久久久久久久久久久 | 午夜男人免费视频 | 青青草原精品99久久精品66 |