1、模块介绍
本模块是为了实现CST数据格式转化为DATE类型而写的。
转换示例:
Tue Nov 14 09:35:17 CST 2023
转化为
2023-12-14 09:35:17代码调用示例:
import csttodate
#读取path路径的excel,并完成col列数据转换。excel仅支持xlsx格式,需要使用openpyxl模块。
read_excel(path,col,save_path)
res=cst_to_date(cstdate)
Metadata
Release files for csttodate 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| csttodate-0.0.1.tar.gz | 2.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| csttodate-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.8 kB
Release files / csttodate-0.0.1.tar.gz
| Download URL | csttodate-0.0.1.tar.gz |
|---|---|
| Size | 2.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c5bab221b0faea106679f71ff736c11a0606694f489b92a30a2fe31cc0689484
|
|
BLAKE2b-256 checksum How to use checksums |
c25e4c8b3e8605a8413f0623d4afe284c9fcf246521de13332b2898a0cf2f053
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.4
|
Release files / csttodate-0.0.1-py3-none-any.whl
| Download URL | csttodate-0.0.1-py3-none-any.whl |
|---|---|
| Size | 2.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cc01a971c8b192ecb290b9980744971cd02f69bf1aec457e05fdc82c9f0937b5
|
|
BLAKE2b-256 checksum How to use checksums |
baad76776ab267fa9a8ef4176264f4830438028502e634a876eb54ba710d3e0b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.4
|