text_plain_output_2.png application_vnd.jupyter.stderr_output_1.png
import matplotlib.pyplot as plt

import pandas as pd

import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

import seaborn as sns

df = pd.read_csv('../input/books.csv', error_bad_lines=False)
df.shape

author_count = df['authors'].value_counts()[:10]

highest_rated = df.sort_values('ratings_count', ascending=False).head(10).set_index('title')

lowest_rated = df.sort_values('ratings_count', ascending=True).head(10).set_index('title')
plt.figure(figsize=(5, 10))
sns.barplot(lowest_rated['ratings_count'].notnull(), lowest_rated.index, palette='Set3')