Hello all, ###the above code requires some changes, this is the modified code df_cat = df.select_dtypes(include=['object']) # Select categorical columns df_num = df.select_dtypes(include=['number']) # Select numeric columns # Convert categorical variables to numerical using one-hot encoding df_cat_encoded = pd.get_dummies(df_cat, drop_first=True) # Apply one-hot encoding # Identify boolean columns and convert them to numeric boolean_cols = df_cat_encoded.columns[df_cat_encoded.dtypes == 'bool'] df_cat_encoded[boolean_cols] = df_cat_encoded[boolean_cols].astype(int) # Concatenate the numerical and encoded categorical columns df_ml = pd.concat([df_num, df_cat_encoded], axis=1) # Concatenate along columns (axis=1) # Display the first few rows of the combined DataFrame df_ml.head(2)
We have to check the inheritance also and remove it if it is there before deleting the role. Also you need to do the impact analysis like the role is assigned to how many users and provide the temporary access to the users for this role. correct me if I am wrong!!
I tried below code df = data.apply(lambda x: pd.factorize(x)[0]) and it worked it converted all the catagorial values to numerical and returned a new dataset.
Here is what I am trying to do but it isn't working? punct = string.punctuation def remove_punct(x): return x.translate(str.maketrans("","", punct)) elon_mentions['content'] = elon_mentions['content'].apply(lambda x: remove_punct(x))
Hello just need Advice i m 28 wanna start sap analyst career plz suggest me roadmap and guidance how to make career in sap security any youtube channel can u suggest
Auth fields are maintained globally if it comes in derived role concept Auth field contains values & activity Org field maintained for company code & sales org etc..
Two hills and sunrise symbol is called Where Used List-- If you click that Icon we can see the auth. object related to that t-code. THank you for sharing the questions:) please share more videos.
After S4 1909 Upgrade, for any reason i got discrepancies between DEV/QA and PRD in USOBT. Which could be the most rationale way to remediate this? Could be just replacing the USOB* from PRD in all environments or is any risk that should be considered?
Hi Bro, pls use any screen recording software so that video and audio quality will be nice. I suggest Snagit software it's very easy n user-friendly screen recording software.
@@datasciences4hanasecurityg739 if u want I can send u the software and the keys as well. Pls provide me ur email I'd. And what u r doing is really awesome and very helpful. Thank you for that.