Common Issues
Common Issues
Issue: Memory error with large dataset
# Solution 1: Use minimal mode
profile = ProfileReport(df, minimal=True)
# Solution 2: Sample data
profile = ProfileReport(df.sample(50000))
Issue: Slow report generation
# Solution: Disable expensive computations
profile = ProfileReport(
df,
correlations=None,
interactions={"continuous": False},
missing_diagrams={"matrix": False, "heatmap": False}
)
Issue: Report too large
# Solution: Limit samples shown
profile = ProfileReport(
df,
samples={"head": 5, "tail": 5},
duplicates={"head": 5}
)
Issue: DateTime not recognized
# Solution: Convert explicitly
df["date_col"] = pd.to_datetime(df["date_col"])
profile = ProfileReport(df)