Skip to content
Snippets Groups Projects
Commit 10baf386 authored by Steffen Remus's avatar Steffen Remus
Browse files

test

parent 30d38827
No related branches found
No related tags found
No related merge requests found
...@@ -92,7 +92,7 @@ def main(args): ...@@ -92,7 +92,7 @@ def main(args):
save_configuration(args.saveconfig, mpl.rcParams) save_configuration(args.saveconfig, mpl.rcParams)
df = pd.read_csv(args.infile, header=None, df = pd.read_csv(args.infile, header=None,
names=('word', 'word_frequency')) names=('word', 'word_frequency'))
df['rank'] = df['word_frequency'].rank(ascending=False, df['rank'] = df['word_frequency'].rank(ascending=True,
method='max') method='max')
ax = df.plot.scatter(x='word_frequency', ax = df.plot.scatter(x='word_frequency',
y='rank', loglog=True, y='rank', loglog=True,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment