cosimameyer / overviewpy

💡 Easily Extracting Information About Your Data in Python
https://cosimameyer.github.io/overviewpy
BSD 3-Clause "New" or "Revised" License
1 stars 1 forks source link

Feature: overview_tab #1

Open cosimameyer opened 1 year ago

cosimameyer commented 1 year ago
   # Check if there are NAs in the time or id variable
    # (and drop them but warn the user about it)
    if (sum(is.na(dat[[id]])) > 0) {
      warning(
        "There is a missing value in your id variable. The missing value is automatically deleted."
      )
      dat <- dat[!is.na(get(id)), col_names, with = FALSE]
    }