smartpush 1.2.6__py3-none-any.whl → 1.2.7__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- smartpush/export/basic/ReadExcel.py +5 -5
- {smartpush-1.2.6.dist-info → smartpush-1.2.7.dist-info}/METADATA +1 -1
- {smartpush-1.2.6.dist-info → smartpush-1.2.7.dist-info}/RECORD +5 -5
- {smartpush-1.2.6.dist-info → smartpush-1.2.7.dist-info}/WHEEL +0 -0
- {smartpush-1.2.6.dist-info → smartpush-1.2.7.dist-info}/top_level.txt +0 -0
@@ -38,11 +38,11 @@ def read_excel_header(excel_data, return_type='list', **kwargs):
|
|
38
38
|
dfs = read_excel_csv_data(excel_data, **kwargs)
|
39
39
|
if kwargs.get('type', None) in excel_extensions:
|
40
40
|
for sheet_name, df in dfs.items():
|
41
|
-
if skip_flags:
|
42
|
-
|
43
|
-
|
44
|
-
else:
|
45
|
-
|
41
|
+
# if skip_flags:
|
42
|
+
# # 因为单元格合并并且跳过存在动态参数,所以这里简单粗暴set去重
|
43
|
+
# headers = list(set(df.iloc[skip_rows].tolist()))
|
44
|
+
# else:
|
45
|
+
headers = df.iloc[skip_rows].tolist()
|
46
46
|
result.append(headers)
|
47
47
|
result_dict[sheet_name] = headers
|
48
48
|
if return_type == 'list':
|
@@ -4,11 +4,11 @@ smartpush/test.py,sha256=ByqTF3rwjS5fHFhT_o5PGo-5WIzytxfIhIA7Cpih-eU,3052
|
|
4
4
|
smartpush/export/__init__.py,sha256=D9GbWcmwnetEndFDty5XbVienFK1WjqV2yYcQp3CM84,99
|
5
5
|
smartpush/export/basic/ExcelExportChecker.py,sha256=BsThRl0rGlGxNQZP8rzgqCwlkdFu7JM5lMy7ypE-kFs,14553
|
6
6
|
smartpush/export/basic/GetOssUrl.py,sha256=zlExF_jy_TRV5lp0fws8Wed5MF_byp7JAEmvARVqlIg,3263
|
7
|
-
smartpush/export/basic/ReadExcel.py,sha256=
|
7
|
+
smartpush/export/basic/ReadExcel.py,sha256=SkEw4773f8pAFH6K4kM120NJI2dFTZRDYuA_EY-Pan4,7170
|
8
8
|
smartpush/export/basic/__init__.py,sha256=6tcrS-2NSlsJo-UwEsnGUmwCf7jgOsh_UEbM0FD-gYE,70
|
9
9
|
smartpush/utils/StringUtils.py,sha256=NXomJ4qmyBRAFnGj5hrFRWwQnRQMTcPzy20fk1dunSw,3980
|
10
10
|
smartpush/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
11
|
-
smartpush-1.2.
|
12
|
-
smartpush-1.2.
|
13
|
-
smartpush-1.2.
|
14
|
-
smartpush-1.2.
|
11
|
+
smartpush-1.2.7.dist-info/METADATA,sha256=N9_NqcRES80PuyMHicleAkszj6xkvxBxuGWHDgd5BqE,145
|
12
|
+
smartpush-1.2.7.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
13
|
+
smartpush-1.2.7.dist-info/top_level.txt,sha256=5_CXqu08EfbPaKLjuSAOAqCmGU6shiatwDU_ViBGCmg,10
|
14
|
+
smartpush-1.2.7.dist-info/RECORD,,
|
File without changes
|
File without changes
|