This notebook loads company+policy data from BigQuery using a SQL query and joins it to an insurance table; preprocesses the resulting DataFrame (renames columns, handles missing values, builds tenure buckets, normalizes insurance types); defines helper functions (get_data) and then filters customer subsets by network/rede.

Neurobyte outline:
- Imports and environment setup
- Data Analysis
- Extract Data
- BigQuery client init and SQL extraction into a DataFrame
- Preprocessing function(s) applied to the extracted dataset
- Filtering / segmentation into final analysis subsets

markdown 1: "# Data Analysis

This notebook loads and processes customer data."
cell 2: "import pandas as pd
from google.cloud import bigquery"
markdown 3: "## Extract Data

Query the database for customer records."
cell 4: "def get_data():
    client = bigquery.Client()
    query = \"SELECT * FROM [REDACTED]\"
    client_id = \"12345\"
    return client.query(query).to_dataframe()"
cell 5: "df = get_data()
df = df.rename(columns={\"old\": \"new\"})"
