8. Analyzing Online Retail II Dataset
Activity 8.01: Performing Data Analysis on the Online Retail II Dataset
- Import the required packages:
import pandas as pd import numpy as np import seaborn as sns import matplotlib.pyplot as plt
In a Jupyter notebook, install
plotly
using the following command:!pip install plotly
Import
plotly.express
from the installed package:import plotly.express as px
- Store each of the CSV files in two different DataFrames:
r09 = pd.read_csv('https://raw.githubusercontent.com/'\ 'PacktWorkshops/'\ 'The-Data-Analysis-Workshop/master/'\ 'Chapter08/Datasets/online_retail_II.csv') r09.head()
The output...