import pandas as pd import matplotlib.pyplot as plt author = ['Jitender', 'Purnima', 'Arpit', 'Jyoti'] article = [210, 211, 114, 178] auth_series = pd.Series(author) article_series = pd.Series(article) frame = { 'Author': auth_series, 'Article': article_series } result = pd.DataFrame(frame) print(result)
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter