Top 3000 comments with the most replies

Show code (25 lines) 1import duckdb 2import pandas as pd 3from IPython.display import HTML 4 5pd.set_option('display.max_rows', None) 6pd.set_option('display.max_columns', None) 7pd.set_option('display.width', None) 8 9conn = duckdb.connect() 10df = conn.sql(''' 11SELECT 12 by as author, 13 text, 14 array_length(kids) as replies, 15 CONCAT('<a href='https://news.ycombinator.com/item?id=', id, ''…