Telegram Group & Telegram Channel
کار با داده های پویا و اهمیت کار با پایگاه داده

یکی از سوالاتی که ممکن است برای شما هم پیش آمده باشد، کار با داده های پویا است. یعنی ما با داده هایی سر و کار داریم که در لحظه تغییر می کنند یا اضافه و کم می شوند. هنگامی که با Pandas کار می کنیم، یک کپی از داده ها در حافظه ذخیره می شود و ارتباط ما با پایگاه داده حذف می شود. البته می توانیم با استفاده از متد DataFrame.update ، دیتا فریم ها را بروز رسانی کنیم. اما یک راه آسان تر برای کار با این داده ها ارتباط مستقیم با پایگاه داده است. خوشبختانه در پایتون کتابخانه های خوبی برای کار با پایگاه داده وجود داد. (در سایت pypi.org می توانید جستجو کنید)
فرض کنید می خواهیم ارتباط بین دو متغیر (سهم Aو سهم B) را از روش رگرسیون محاسبه کنیم. به راحتی می توانیم صرفا با استفاده از دستورات SQL رگرسیون را محاسبه کنیم. من این مثال را با استفاده از PostgreSQL انجام داده ام اما برای سایر پایگاه های داده هم شبیه همین خواهد بود.

#سری_زمانی
#داده_پویا
#مدلسازی_مالی
#پایتون_مالی
#Sql
#PostgreSQL

پایتون برای مالی در تلگرام
https://www.tg-me.com/joinchat-AAAAAFGMkouqbsb86Vfzug



tg-me.com/python4finance/355
Create:
Last Update:

کار با داده های پویا و اهمیت کار با پایگاه داده

یکی از سوالاتی که ممکن است برای شما هم پیش آمده باشد، کار با داده های پویا است. یعنی ما با داده هایی سر و کار داریم که در لحظه تغییر می کنند یا اضافه و کم می شوند. هنگامی که با Pandas کار می کنیم، یک کپی از داده ها در حافظه ذخیره می شود و ارتباط ما با پایگاه داده حذف می شود. البته می توانیم با استفاده از متد DataFrame.update ، دیتا فریم ها را بروز رسانی کنیم. اما یک راه آسان تر برای کار با این داده ها ارتباط مستقیم با پایگاه داده است. خوشبختانه در پایتون کتابخانه های خوبی برای کار با پایگاه داده وجود داد. (در سایت pypi.org می توانید جستجو کنید)
فرض کنید می خواهیم ارتباط بین دو متغیر (سهم Aو سهم B) را از روش رگرسیون محاسبه کنیم. به راحتی می توانیم صرفا با استفاده از دستورات SQL رگرسیون را محاسبه کنیم. من این مثال را با استفاده از PostgreSQL انجام داده ام اما برای سایر پایگاه های داده هم شبیه همین خواهد بود.

#سری_زمانی
#داده_پویا
#مدلسازی_مالی
#پایتون_مالی
#Sql
#PostgreSQL

پایتون برای مالی در تلگرام
https://www.tg-me.com/joinchat-AAAAAFGMkouqbsb86Vfzug

BY Python4Finance




Share with your friend now:
tg-me.com/python4finance/355

View MORE
Open in Telegram


Python4Finance Telegram | DID YOU KNOW?

Date: |

Telegram auto-delete message, expiring invites, and more

elegram is updating its messaging app with options for auto-deleting messages, expiring invite links, and new unlimited groups, the company shared in a blog post. Much like Signal, Telegram received a burst of new users in the confusion over WhatsApp’s privacy policy and now the company is adopting features that were already part of its competitors’ apps, features which offer more security and privacy. Auto-deleting messages were already possible in Telegram’s encrypted Secret Chats, but this new update for iOS and Android adds the option to make messages disappear in any kind of chat. Auto-delete can be enabled inside of chats, and set to delete either 24 hours or seven days after messages are sent. Auto-delete won’t remove every message though; if a message was sent before the feature was turned on, it’ll stick around. Telegram’s competitors have had similar features: WhatsApp introduced a feature in 2020 and Signal has had disappearing messages since at least 2016.

What Is Bitcoin?

Bitcoin is a decentralized digital currency that you can buy, sell and exchange directly, without an intermediary like a bank. Bitcoin’s creator, Satoshi Nakamoto, originally described the need for “an electronic payment system based on cryptographic proof instead of trust.” Each and every Bitcoin transaction that’s ever been made exists on a public ledger accessible to everyone, making transactions hard to reverse and difficult to fake. That’s by design: Core to their decentralized nature, Bitcoins aren’t backed by the government or any issuing institution, and there’s nothing to guarantee their value besides the proof baked in the heart of the system. “The reason why it’s worth money is simply because we, as people, decided it has value—same as gold,” says Anton Mozgovoy, co-founder & CEO of digital financial service company Holyheld.

Python4Finance from tr


Telegram Python4Finance
FROM USA