regex_pattern = r'MKT_WHITELIST_POOL_\d{8}_([^_]+)(?:_\1)?(?:_(?:part|Part|pART|PART|)\d{1})\.csv'
sample_list = [
MKT_WHITELIST_POOL_20250723_PO4189OLG_1.csv
MKT_WHITELIST_POOL_20250723_PO4189OLG_PO4189OLG_1.csv
MKT_WHITELIST_POOL_20250723_PO4189OLG_PO4189OLG_Part1.csvIs it possible to use polars to connect with trino and write data with more speed?
provide me detailed explanation, comparison, python code to do so and proper URL links to read more on this.
Yes, you can use Polars to connect with Trino for efficient data writing. Below is a detailed explanation, performance comparison, Python code, and resources for optimization.
Below regex pattern help to extract needful information from Portable export of SSH sessions. Although not complete, can help data extraction from export file.
SSH_pattern = r'(?<Servername>[\w. ()]+)=#(?<Type>\d+)#0%(?<IP>[\w.]+)%(?<port>\d+)%%%([\w.-]+)%([\d-]+)%%%([\w.-]+)%%\d%([\w.-]+)%([\wModification in .repo files as
- Comment
mirrorlistline - Uncomment
baseurlline and add local address
Check https://iranrepo.ir/
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import datetime | |
| import jdatetime | |
| from pandas import to_datetime | |
| #def p_to_g(d, splitter='/'): | |
| # ''' | |
| # Persian date instance to Gregorian date instance converstion assuming input date format to be format="%Y/%m/%d" | |
| # and provide output in same format. | |
| # ''' | |
| # d = d.split(splitter) |
NewerOlder
