Commit 280a03ce authored by 张彦钊's avatar 张彦钊

修改str.cat

parent a6c3f234
...@@ -68,7 +68,8 @@ def transform(df,table): ...@@ -68,7 +68,8 @@ def transform(df,table):
print("size") print("size")
print(df.shape) print(df.shape)
yconnect = create_engine('mysql+pymysql://root:3SYz54LS9#^9sBvC@10.66.157.22:4000/jerry_test?charset=utf8') yconnect = create_engine('mysql+pymysql://root:3SYz54LS9#^9sBvC@10.66.157.22:4000/jerry_test?charset=utf8')
for i in range(df.shape[0],10000): for i in range(0,df.shape[0],10000):
print(i)
if i == 0: if i == 0:
temp = df.loc[0:10000] temp = df.loc[0:10000]
elif i+10000 > df.shape[0]: elif i+10000 > df.shape[0]:
...@@ -200,17 +201,4 @@ class multiFFMFormatPandas: ...@@ -200,17 +201,4 @@ class multiFFMFormatPandas:
if __name__ == "__main__": if __name__ == "__main__":
get_data() get_data()
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment