Warning: file_put_contents(aCache/aDaily/post/dsproglib/-6157-6160-): Failed to open stream: No space left on device in /var/www/tgoop/post.php on line 50
Библиотека дата-сайентиста | Data Science, Machine learning, анализ данных, машинное обучение@dsproglib P.6157
DSPROGLIB Telegram 6157
💡 Vaex — быстрая альтернатива Pandas для работы с большими данными

Vaex — это библиотека DataFrame, специально созданная для работы с огромными наборами данных (миллионы или даже миллиарды строк) без перегрузки памяти и падения производительности.

Импорт:
import vaex

df = vaex.open("big_data.csv")
print(df.shape)


Фильтрация данных:
filtered_df = df[df.age > 30]


Вычисление среднего значения:
mean_salary = df.salary.mean()
print(mean_salary)


Группировка данных:
df.groupby("job_title", agg=vaex.agg.mean("salary"))



Ссылка на библиотеку: https://clc.to/f2i7yg
🔥63👍2🥱2



tgoop.com/dsproglib/6157
Create:
Last Update:

💡 Vaex — быстрая альтернатива Pandas для работы с большими данными

Vaex — это библиотека DataFrame, специально созданная для работы с огромными наборами данных (миллионы или даже миллиарды строк) без перегрузки памяти и падения производительности.

Импорт:
import vaex

df = vaex.open("big_data.csv")
print(df.shape)


Фильтрация данных:
filtered_df = df[df.age > 30]


Вычисление среднего значения:
mean_salary = df.salary.mean()
print(mean_salary)


Группировка данных:
df.groupby("job_title", agg=vaex.agg.mean("salary"))



Ссылка на библиотеку: https://clc.to/f2i7yg

BY Библиотека дата-сайентиста | Data Science, Machine learning, анализ данных, машинное обучение





Share with your friend now:
tgoop.com/dsproglib/6157

View MORE
Open in Telegram


Telegram News

Date: |

The optimal dimension of the avatar on Telegram is 512px by 512px, and it’s recommended to use PNG format to deliver an unpixelated avatar. 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. Choose quality over quantity. Remember that one high-quality post is better than five short publications of questionable value. Users are more open to new information on workdays rather than weekends. 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.
from us


Telegram Библиотека дата-сайентиста | Data Science, Machine learning, анализ данных, машинное обучение
FROM American