Python - Function to Check If input Is An Integer or String | Python | Data-Structure | Jupyter |

preview_player
Показать описание
A Python Program to Check if the input is String or an integer.
Рекомендации по теме
Комментарии
Автор

I have a question on date format in dataframe which is coming through read_csv.

my df has two columns(hiredate, end_date) and having different date formats(DD-MMM-YYYY, MMM-YY).
if DD missing in any date, it should be convert last day of the month.

input

empno, ename, hiredate, end_date

1, sreenu, 17-Jun-2021, May-22



output

empno, ename, hiredate, end_date

1, sreenu, 17-Jun-2021, 2022-05-31

i want create a method to check date format in df and convert YYYY-MM-DD format.
can you please help me

kottakaburlu
Автор

please comment, ,, if you have any doubt

Lone_coder_DS
Автор

Can u find even mumber only from alphanumeric and print those number

mangalpardeshi
visit shbcf.ru