eric_ma · @eric_ma
10 followers · 38 posts · Server techhub.social

At least there are couple of options when we are working with Multi-index data that can be particularly helpful for slicing or filtering data:

- pandas.DataFrame.xs
- pandas.IndexSlice

pandas.pydata.org/pandas-docs/

pandas.pydata.org/pandas-docs/

#python #pandas #datascience #dataframe

Last updated 2 years ago

Babak Tourani · @babak
91 followers · 163 posts · Server data-folks.masto.host

During a peculiar discussion in (mostly among users - some decent performance experts among them), CSV was mentioned as the worst file format for loading data. Yet, I can't stop thinking about this document which says otherwise.

Are we sure the issue isn't with DataFrame libraries?!

community.snowflake.com/s/arti

#pydatalondon2023 #dataframe #python #Snowflake

Last updated 2 years ago

Rami Krispin :unverified: · @ramikrispin
813 followers · 318 posts · Server mstdn.social

Polars released this week a new version (0.16.17). The Polars library is a multiple languages (Python, Rust, Node.js) framework for working with a tabular data frame in memory using the Apache Arrow engine🚀.

Resources 📚
Source code: github.com/pola-rs/polars
Release notes: github.com/pola-rs/polars/rele
Documentation: pola.rs/

#dataengineering #DataScience #Data #dataframe #Rust #Python

Last updated 2 years ago

José M. Requena Plens · @jmrplens
198 followers · 23 posts · Server mstdn.jmrp.io
Stefan Zitz · @Zitzero
56 followers · 106 posts · Server julialang.social

Today I got stuck in automation hell 🔥 . Wanted a script that performs , read the results, push them into a and write that frame to a . While that sounds reasonable I quickly encountered the fact that I didn't use a coherent naming scheme for my simulations 😩

#simulations #dataframe #csv

Last updated 3 years ago

In one hour I will be giving a talk about , my new favourite library! Join me at :

pydata.org/global2022

#pydataglobal #dataframe #python #polars

Last updated 3 years ago

Sundar R :julia: · @Sundar
25 followers · 21 posts · Server julialang.social


2022-11-26

When you see `foo.bar` in your code, Julia sees that as the call `getproperty(foo, :bar)`.

Let's say you load data into a `df`. When you access `df.Species`, that calls `getproperty(df, :Species)`.
DataFrames.jl has a matching method for that call, which returns `df[!, :Species]` i.e. makes it a column access.

You can do that for your custom types too! (Useful to understand "fields" before that, a post on those is upcoming.)

#juliabeginners #juliatipoftheday #julialang #dataframe

Last updated 3 years ago

pablolarah · @pablolarah
71 followers · 431 posts · Server mastodon.social
aRubes :Strawberry_Jump: · @aRubes
348 followers · 3372 posts · Server tooot.im

Rule number 1 of : never use or if you don't have to. 🤐

#r #tibble #dataframe

Last updated 7 years ago