From 77a85b3f89da7cde6abe9154752a30b76a0b94be Mon Sep 17 00:00:00 2001 From: bohe-web <1289265046@qq.com> Date: Wed, 6 May 2020 19:48:13 +0800 Subject: [PATCH] =?UTF-8?q?update=20Excel-Python-DA/=E5=8B=98=E8=AF=AF?= =?UTF-8?q?=E8=A1=A8.md.=20|P124|reset=5Fidnex()|set=5Findex()|?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- "Excel-Python-DA/\345\213\230\350\257\257\350\241\250.md" | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git "a/Excel-Python-DA/\345\213\230\350\257\257\350\241\250.md" "b/Excel-Python-DA/\345\213\230\350\257\257\350\241\250.md" index 2a87ca0..dcc4613 100755 --- "a/Excel-Python-DA/\345\213\230\350\257\257\350\241\250.md" +++ "b/Excel-Python-DA/\345\213\230\350\257\257\350\241\250.md" @@ -30,7 +30,7 @@ |P116|df.isin([A2,31])|df.isin(["A2",31])| |P118|pd.cut(df["年龄"],3,bins=[0,3,6,10])|pd.cut(df["年龄"],bins=[0,3,6,10])| |P124|Nmae|Name| -|P124、P125、P126|Conpany、conpany|Company| +|P124、P125、P126|Conpany、conpany|Company| |P125|df.melt出来的结果顺序有问题|df.melt出来的结果应该是按照year排序的,即相同的年份在一起| |P126|长表转化为宽表|结果中不包含亚马逊和腾讯| |P129|df["C1"] != df["C2"]|df["C1"] < df["C2"]| -- Gitee