Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 7cf4d31

Browse files
Update 07-常用函数.md
1 parent 3689b6c commit 7cf4d31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎07-常用函数.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def chain(current, last):
138138

139139
```python
140140
# 从df_all中过滤df2
141-
df = df_all.append(df2).drop_duplicates(keep=False)
141+
df = df_all.append(df2).drop_duplicates(subset=['case_number'], keep=False)
142142

143143
# 对于给定的列,一个Dataframe过滤另一个Dataframe该列的值;相当于集合的差集操作
144144
def difference(left, right, on):

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /