FACTORY_DATAFRAMES Telegram 8
⚡️Для удобной фильтрации данных вместо классического:
df[(df['col1'] == 1) & (df['col2'] == 2)]


можно использовать метод query():
df.query('col1 == 1 & col2 == 2')


Так код получается короче и легче читается.

#лайфхак
Please open Telegram to view this post
VIEW IN TELEGRAM
🔥83🤩73🥰72👏6756🎉42👍38



tgoop.com/factory_dataframes/8
Create:
Last Update:

⚡️Для удобной фильтрации данных вместо классического:

df[(df['col1'] == 1) & (df['col2'] == 2)]


можно использовать метод query():
df.query('col1 == 1 & col2 == 2')


Так код получается короче и легче читается.

#лайфхак

BY Фабрика DataFrames 🐼


Share with your friend now:
tgoop.com/factory_dataframes/8

View MORE
Open in Telegram


Telegram News

Date: |

The administrator of a telegram group, "Suck Channel," was sentenced to six years and six months in prison for seven counts of incitement yesterday. In the next window, choose the type of your channel. If you want your channel to be public, you need to develop a link for it. In the screenshot below, it’s ”/catmarketing.” If your selected link is unavailable, you’ll need to suggest another option. Developing social channels based on exchanging a single message isn’t exactly new, of course. Back in 2014, the “Yo” app was launched with the sole purpose of enabling users to send each other the greeting “Yo.” How to create a business channel on Telegram? (Tutorial) Joined by Telegram's representative in Brazil, Alan Campos, Perekopsky noted the platform was unable to cater to some of the TSE requests due to the company's operational setup. But Perekopsky added that these requests could be studied for future implementation.
from us


Telegram Фабрика DataFrames 🐼
FROM American