<jupyter_start><jupyter_text>Riding Patterns Plots  Table of contents1. [Imports](imports)2. [Total rentals by month](monthAggPlot)3. [Average rentals by month](monthAvgPlot)4. [Total rentals by day](dayAggPlot)5. [Average rentals by day of the week](weekdayAggPlot)6. [Total rentals by hour and weekday](hourAggPlot)7. [Average rentals by hour and weekday](hourAvgPlot)8. [Average rentals by hour and kind of day](AvgWDPlot)9. [Average rentals by hour and month](hourAvgMonthPlot)10. [Rental time](durationAggPlot)  Imports<jupyter_code>#Setting os, sys and path parameters
import os
import sys
nb_dir = os.path.split(os.getcwd())[0]
nb_dir2 = os.path.split(nb_dir)[0]
nb_dir3 = nb_dir2 + r'\src\features'
if nb_dir not in sys.path:
    sys.path.append(nb_dir3)
sys.path

# importing ready plots
import RidingPatternsPlots

# plotly standard imports
import plotly.graph_objs as go
import chart_studio.plotly as py
from plotly.offline import iplot

# Cufflinks wrapper on plotly
import cufflinks
cufflinks.go_offline()

# Set global theme
cufflinks.set_config_file(world_readable=True, theme='pearl')
monthAggPlot, monthAvgPlot, dayAggPlot, weekdayAvgPlot, hourAggPlot, hourAvgPlot, hourAvgWDPlot, hourAvgMonthPlot, durationAggPlot, durationLtdPlot, durationWDPlot, durationTable, durationCountPlot, durationTotalPlot, averageRentalTimeTable = RidingPatternsPlots.main(nb_dir2)<jupyter_output>Loading data<jupyter_text>Total rentals by month<jupyter_code>iplot(monthAggPlot)<jupyter_output><empty_output><jupyter_text>Average rentals by month<jupyter_code>iplot(monthAvgPlot)<jupyter_output><empty_output><jupyter_text>Total rentals by day<jupyter_code>iplot(dayAggPlot)<jupyter_output><empty_output><jupyter_text>Average rentals by day of the week<jupyter_code>iplot(weekdayAvgPlot)<jupyter_output><empty_output><jupyter_text>Total rentals by hour and weekday<jupyter_code>iplot(hourAggPlot)<jupyter_output><empty_output><jupyter_text>Average rentals by hour and weekday<jupyter_code>iplot(hourAvgPlot)<jupyter_output><empty_output><jupyter_text>Average rentals by hour and kind of day (working day or weekend/holiday)<jupyter_code>iplot(hourAvgWDPlot)<jupyter_output><empty_output><jupyter_text>Average rentals by hour and month<jupyter_code>iplot(hourAvgMonthPlot)<jupyter_output><empty_output><jupyter_text>Rental time<jupyter_code>iplot(durationAggPlot)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.09170854271356783, 'fraction_numerical': 0.007537688442211055, 'mean_word_length': 10.060185185185185, 'pattern_counts': {'":': 0, '<': 40, '<?xml version=': 0, '>': 40, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '10', 'dir': 'jupyter-structured-clean-dedup', 'id': '16371', 'license': 'MIT', 'n_tokens_mistral': 922, 'n_tokens_neox': 835, 'n_words': 169, 'path': 'notebooks/reports/RidingPatternsPlots.ipynb', 'repo_name': 'sebastian-konicz/WRM', 'size': '2388'}