-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updates from various demos #5
Conversation
@@ -95,7 +95,7 @@ | |||
" if \"subtype\" in df.columns:\n", | |||
" df = df[df[\"subtype\"].isnull()]\n", | |||
" # only keep these columns\n", | |||
" df = df[df.columns.intersection([\"ts\", \"user\", \"text\", \"thread_ts\"])]\n", | |||
" df = df[df.columns.intersection([\"ts\", \"user\", \"text\", \"thread_ts\", \"reactions\"])]\n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why adding reactions?
" \"channel\" : threads.col(\"channel\").else_(non_threads_threads.col(\"channel\")),\n", | ||
"})\n", | ||
"\n", | ||
"joined.preview(5)" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this isn't fixed yet... we need to keep the above code: kaskada-ai/kaskada#725
# Load user label map | ||
le = preprocessing.LabelEncoder() | ||
with open('labels_.json') as f: | ||
with open('labels.json') as f: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would have expected changes elsewhere to match up with this...
@@ -97,7 +98,7 @@ def handle_message(client, req): | |||
"thread": messages.col("thread_ts"), | |||
})) \ | |||
.select("user", "ts", "text") \ | |||
.collect(max=2) | |||
.collect(max=20) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
was this intentional?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe you don't want to replace this?
can we close this one? |
No description provided.