0
Good afternoon!
I have a database with the variables: number card, date of hospitalization and date of discharge. I want to unify the three variables in a single with the name Chave_hospitalization.
If it’s SAS, it’ll look like this: Chave_hospitalization = compress(card || data_hospitalization || high date);
However I am not able to do the same in jupyter notebook with python, how can I do it in python?
What type of data are variables? Are they strings? Or are they columns of data in a dataframe Pandas? Or are in a relational database ("database") - if yes, it is necessary to see the code of how you access this data to be able to answer the question.
– jsbueno