Skip to content

Instantly share code, notes, and snippets.

@selva86
Created September 26, 2021 11:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save selva86/22af4a7d8eb7490bccaf1cb5833efbfe to your computer and use it in GitHub Desktop.
Save selva86/22af4a7d8eb7490bccaf1cb5833efbfe to your computer and use it in GitHub Desktop.
import pandas as pd
import numpy as np
from sklearn.datasets import load_boston
df = load_boston()
boston_df = pd.DataFrame(df.data)
boston_df.columns = df.feature_names
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment