# ---
# jupyter:
#   jupytext:
#     text_representation:
#       extension: .py
#       format_name: light
#       format_version: '1.5'
#       jupytext_version: 1.14.4
#   kernelspec:
#     display_name: Python 3
#     language: python
#     name: python3
# ---

# +
import pandas as pd

import bib_parse as bp
# -

pd.options.display.max_colwidth = 50

df = bp.bib_to_df('../bibtex/2017-02-03-sociology.bib')

df.columns

df['times-cited'] = df['times-cited'].astype(int)

df = df.sort_values('times-cited', ascending=False).reset_index()

# +
pd.options.display.max_colwidth = 9999999999

for i in range(df.shape[0]):
    print('*' * 80)
    print(df.ix[i, ['author', 'title', 'journa', 'year', 'times-cited']])
    print('>')
    print(df.ix[i, 'abstract'])
# -



StarcoderdataJupyterScriptsDedupFiltered