Skip to main content

A package that scrapes movie data from Universal Studios and analyzes it.

Project description

final-movie-analysis

A little package for analyzing universal studios movies from 2014-2024

Description

This package demonstrates:

  • How to scrape movie information from the web for a dirty dataset and clean it (data_creation)
  • View the dataset (print_dataset_head)
  • How to analyze a movie dataset (do_analysis_specific)
  • How to check missingness in the dataset (get_NAs)
  • How do it all in one step (totality)
  • How to analyze feature importance (do_ml_analysis_plots, do_ml_analysis_numbers, ml_analysis_findings)
  • How to analyze feature significance (season_significance, rating_significance, genre_significance, production_method_significance)
  • How to analyze factor relation (factors_analysis, earnings_correlation, season_earnings, genre_earnings, production_method_earnings, ratings_earnings)
  • How to analyze a feature over time (graph_revenue, graph_revenue_by_year, graph_revenue_and_profit, analyze_revenue)
  • How to check one feature specifically (describe_revenue)
  • How to interpret analysis (factors_findings, revenue_findings)

Installation

pip install final-movie-analysis

Usage

import sys, os
sys.path.append(os.path.abspath("src"))
from final_movie_analysis.functions import totality
#Create and analyze the data
totality()

Dependencies

  • requests>=2.32.5
  • bs4>=0.0.2
  • numpy>=2.3.4
  • pandas>=2.3.3
  • matplotlib>=3.10.7
  • lxml>=6.0.2
  • scipy>=1.16.3
  • scikit-learn>=1.7.2
  • shap>=0.49.1
  • pingouin>=0.5.5

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

final_movie_analysis-1.0.0.tar.gz (12.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

final_movie_analysis-1.0.0-py3-none-any.whl (13.2 kB view details)

Uploaded Python 3

File details

Details for the file final_movie_analysis-1.0.0.tar.gz.

File metadata

  • Download URL: final_movie_analysis-1.0.0.tar.gz
  • Upload date:
  • Size: 12.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for final_movie_analysis-1.0.0.tar.gz
Algorithm Hash digest
SHA256 0a5ec268af588e7daa0e38946c5918e140f98ea50324c9bf11e5cea1fe8e3411
MD5 58ff801da8e7877e733c6ad7fa4b8aaf
BLAKE2b-256 3232fe8cba444a75137b33cd859483caec464aec2f2fb2ecb30daab7db50d5dd

See more details on using hashes here.

File details

Details for the file final_movie_analysis-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for final_movie_analysis-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2376103fc768467da1aeb040cc35ea151558e1603671126eed7598f228422146
MD5 157e1462700eb0e2e4ac9e000585916a
BLAKE2b-256 cf49e7093d04830ae0ef9e2856925ac94777b6a55a19c9a035ab4172787b3171

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page