<jupyter_start><jupyter_text>Zadanie 1<jupyter_code>d = date(1995,3,14)
t = time(6)
dt = datetime.combine(d,t)
dt
dtoday = date.today()
dttoday = datetime.now()
dttime = datetime.time(dttoday)
dttime<jupyter_output><empty_output><jupyter_text>From ISO date format<jupyter_code>dateStr = '1969-07-21T02:56:15.123Z'
output = datetime.strptime(dateStr, '%Y-%m-%dT%H:%M:%S.%fZ')
output<jupyter_output><empty_output><jupyter_text>TO ISO date format<jupyter_code>gagarin = 'April 12, 1961 6:07 local time'
output = datetime.strptime(gagarin, '%B %d, %Y %H:%M local time')
output.isoformat()<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.16286644951140064, 'fraction_numerical': 0.057003257328990226, 'mean_word_length': 8.609375, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '3', 'dir': 'jupyter-structured-clean-dedup', 'id': '349762', 'license': 'Apache-2.0', 'n_tokens_mistral': 291, 'n_tokens_neox': 264, 'n_words': 41, 'path': 'basic/Daty.ipynb', 'repo_name': 'mrcngrcki/bootcamp', 'size': '614'}