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: |

Telegram has announced a number of measures aiming to tackle the spread of disinformation through its platform in Brazil. These features are part of an agreement between the platform and the country's authorities ahead of the elections in October. Telegram desktop app: In the upper left corner, click the Menu icon (the one with three lines). Select “New Channel” from the drop-down menu. Healing through screaming therapy Unlimited number of subscribers per channel How to Create a Private or Public Channel on Telegram?
from us


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