Commit Graph

1645 Commits

Author SHA1 Message Date
52de9547d9 Add months_diff 2020-10-28 16:20:39 +02:00
d6a889c5e1 Add is_weekend 2020-10-28 16:20:27 +02:00
a985063f35 Add is_weekday 2020-10-28 16:20:18 +02:00
7b7a347117 Add from_iso_date 2020-10-28 16:20:04 +02:00
7b576c1aa5 Add days_from_now 2020-10-28 16:19:51 +02:00
37ed12021b Add days_diff 2020-10-28 16:19:39 +02:00
59c028870b Add days_ago 2020-10-28 16:19:30 +02:00
2666e7d653 add daterange 2020-10-28 16:19:14 +02:00
8d37363b43 Add add_days 2020-10-28 16:19:04 +02:00
63d92f2482 Add get 2020-10-28 12:21:39 +02:00
0f7214ba1c Update sample 2020-10-28 11:45:34 +02:00
199b646c32 Fix tags 2020-10-25 12:43:20 +02:00
b817ae4fcc Merge pull request #411 from veronicaguo/update-snippets
Update `count_by`, `chunk_into_n` and `initial`
2020-10-25 12:38:38 +02:00
9cd13f560e Update count_by, chunk_into_n and initial 2020-10-22 22:35:06 -04:00
c05e62d821 Merge pull request #408 from alanpcs/snippet/pluck
Adds pluck
2020-10-22 10:10:03 +03:00
056cd658c6 Update pluck.md 2020-10-22 10:09:44 +03:00
d740c3e9b9 Update pluck.md 2020-10-22 10:09:21 +03:00
7f9c9b7062 Add pluck 2020-10-21 22:14:36 -03:00
a6e58007bd Merge pull request #393 from veronicaguo/snippets-improvements
Refactor snippets `bifurcate`, `chunk` and `geometric_progression`. 
Resolves #391.
2020-10-19 22:55:44 +03:00
edb914b41d Refactor snippets 2020-10-19 09:45:59 -04:00
69e5e3776b Add key_in_dict 2020-10-16 21:30:49 +03:00
3c232e0ec7 Add sort_dict_by_value 2020-10-16 21:25:19 +03:00
f02e959476 Add sort_dict_by_key 2020-10-16 21:24:33 +03:00
c759975a89 Add dict_to_list 2020-10-16 21:24:14 +03:00
7501c3ff2a Add reverse to sort_by_indexes 2020-10-16 21:23:53 +03:00
ba66ef8514 Merge pull request #370 from gurukiran07/issue#362
Updated frequencies.md Resolves #362
2020-10-16 20:38:15 +03:00
6d52040e37 Update frequencies.md 2020-10-16 20:37:50 +03:00
2da7bcd612 Updated frequencies.md, Resolves#362 2020-10-14 19:34:31 +05:30
4a6bd35d57 Update chunk_into_n.md 2020-10-13 22:37:49 +03:00
49c4e295a8 Update chunk_into_n.md 2020-10-13 19:09:35 +03:00
6e0bd7d03c Merge pull request #2 from 30-seconds/master
upstream
2020-10-13 12:03:20 +05:30
c4a0b8ca7e Merge pull request #359 from JonasAlfredsson/master
Add split_list
2020-10-12 22:13:36 +03:00
d0d234ebed Update and rename split_list.md to chunk_into_n.md 2020-10-12 22:11:30 +03:00
9a3809c000 Add split_list
This code comes from one of my [gists][1], but could probably be more
useful here where it might be easier to find.

[1]: https://gist.github.com/JonasAlfredsson/6e30169c5c69813651baf050dbfc7203
2020-10-11 23:39:19 +02:00
8f81fb58b0 Merge pull request #357 from gurukiran07/issue#354
refactored sum_of_powers, Resolves #354
2020-10-11 15:59:31 +03:00
e9db92ee22 refactored sum_of_powers, Resolves #354 2020-10-11 17:54:06 +05:30
7df78ad5ed Add find_index_of_all 2020-10-11 13:45:19 +03:00
281a9871e1 Update snippets 2020-10-11 13:40:42 +03:00
eca0ad5743 Added find all indices of occurrences of a value 2020-10-11 13:37:22 +03:00
6f09a19637 Use set instead of slicing 2020-10-11 13:36:53 +03:00
3e5dc5c39c Merge pull request #335 from psyonara/better_collect_dict
Collect Dictionary: better readability when appending to list
2020-10-11 12:16:41 +03:00
12a13d8bfb Update collect_dictionary.md 2020-10-11 12:16:27 +03:00
c522ce673f Merge pull request #336 from psyonara/better_count_occurences
Use Python's built-in count method to do the counting for us.
2020-10-11 10:29:40 +03:00
88dceb260a Update count_occurences.md 2020-10-11 10:29:24 +03:00
1e16cd5298 Use Python's built-in count method to do the counting for us. 2020-10-10 23:28:47 +02:00
367a747ad7 Better readability for appending to list. 2020-10-10 23:16:53 +02:00
e84ade1aed Merge pull request #316 from pracheejaviya1/conversion
Added decimal to hex conversion
2020-10-09 09:45:59 +03:00
8f0718916d Update and rename dec_to_hex.md to to_hex.md 2020-10-09 09:45:47 +03:00
bf1afde0f7 Added decimal to hex conversion 2020-10-09 11:56:37 +05:30
cb079e548f Merge pull request #315 from casalazara/master
Create weighted_average.md
2020-10-09 09:12:57 +03:00