Analyzing Your Browser History Using Python and Pandas
applecrazy.github.io
Analyzing Your Browser History Using Python and Pandas
1–10 of 42 posts
Re: Analyzing Your Browser History Using Python and Pandas
#2Iirc stock chrome also has a way to view this.
Re: Analyzing Your Browser History Using Python and Pandas
#3Vivaldi does this for me in the history page itself. Pretty weird to use Python just to see a distribution of what sites you visited. Iirc stock chrome also has a way to view this.
The main purpose of the post was to demonstrate collection and cleaning of data and give an overview of it through a basic visualization.
In the future, I'd like to show how this data is a gold mine of information, using it to predict browsing trends, create a profile of interests, and more.
Mainly to show why ad tracking/selling of user browser history is bad, but also to teach some data science techniques along the way.
Re: Analyzing Your Browser History Using Python and Pandas
#4It does, use df[column_name].str.split(expand=True), where df is your DataFrame.
Re: Analyzing Your Browser History Using Python and Pandas
#5> Since Pandas probably doesn’t do this out of the box It does, use df[column_name].str.split(expand=True), where df is your DataFrame.
Edit: nevermind, it does do that (https://pandas.pydata.org/pandas-docs/stable/generated/panda...)
Re: Analyzing Your Browser History Using Python and Pandas
#6> Since Pandas probably doesn’t do this out of the box It does, use df[column_name].str.split(expand=True), where df is your DataFrame.
I had pipe symbols in URLs. Will it split only on the first pipe symbol? Edit: nevermind, it does do that ( https://pandas.pydata.org/pandas-docs/stable/generated/panda... )
Re: Analyzing Your Browser History Using Python and Pandas
#7Re: Analyzing Your Browser History Using Python and Pandas
#8Re: Analyzing Your Browser History Using Python and Pandas
#9I haven't had any reason to use pandas yet so it'll be a good excuse.
It's a project that's not very long, requires data everyone has and gives a cool insight at the end.
Nice!
Re: Analyzing Your Browser History Using Python and Pandas
#10 ~/.config/google-chrome/Default
or: ~/.config/chromium/Default