Skip to content

import numpy as np import pandas as pd # statsmodels is used to build statistical models import statsmodels.api as sm # To split the data into train and test sets from sklearn.model_selection import train_test_split # Load the dataset cook = pd.read_csv('Chapter 9 - Case Study Dataset - Cookingrange.csv') # Manually print DataFrame info in the required format for i, (col, dtype) in enumerate(zip(cook.columns, cook.dtypes)): non_null = cook[col].notnull().sum() print(f"{i} \n{col} \n{non_null} non-null \n{dtype}") #621

import numpy as np import pandas as pd # statsmodels is used to build statistical models import statsmodels.api as sm # To split the data into train and test sets from sklearn.model_selection import train_test_split # Load the dataset cook = pd.read_csv('Chapter 9 - Case Study Dataset - Cookingrange.csv') # Manually print DataFrame info in the required format for i, (col, dtype) in enumerate(zip(cook.columns, cook.dtypes)): non_null = cook[col].notnull().sum() print(f"{i} \n{col} \n{non_null} non-null \n{dtype}")

import numpy as np import pandas as pd # statsmodels is used to build statistical models import statsmodels.api as sm # To split the data into train and test sets from sklearn.model_selection import train_test_split # Load the dataset cook = pd.read_csv('Chapter 9 - Case Study Dataset - Cookingrange.csv') # Manually print DataFrame info in the required format for i, (col, dtype) in enumerate(zip(cook.columns, cook.dtypes)): non_null = cook[col].notnull().sum() print(f"{i} \n{col} \n{non_null} non-null \n{dtype}") #621

name: Pause Community Contributions
on:
issues:
types:
- opened
pull_request_target:
types:
- opened
paths-ignore:
- 'exercises/*/*/.approaches/**'
- 'exercises/*/*/.articles/**'
permissions:
issues: write
pull-requests: write
jobs:
pause:
if: github.repository_owner == 'exercism' # Stops this job from running on forks
uses: exercism/github-actions/.github/workflows/community-contributions.yml@main
with:
forum_category: python
secrets:
github_membership_token: ${{ secrets.COMMUNITY_CONTRIBUTIONS_WORKFLOW_TOKEN }}