eupolicy.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
This Mastodon server is a friendly and respectful discussion space for people working in areas related to EU policy. When you request to create an account, please tell us something about you.

Server stats:

213
active users

#dataframe

0 posts0 participants0 posts today
Steven P. Sanderson II, MPH<p>I've talked about creating data.frames and tibbles before, but it is an important topic so I have covered it again. This time specifically from the perspective of creating them from vectors. Post: <a href="https://www.spsanderson.com/steveondata/posts/2025-06-09/" rel="nofollow noopener noreferrer" target="_blank">www.spsanderson.com/steveondata/...</a> <a class="hashtag" rel="nofollow noopener noreferrer" href="https://bsky.app/search?q=%23R" target="_blank">#R</a> <a class="hashtag" rel="nofollow noopener noreferrer" href="https://bsky.app/search?q=%23RStats" target="_blank">#RStats</a> <a class="hashtag" rel="nofollow noopener noreferrer" href="https://bsky.app/search?q=%23tibble" target="_blank">#tibble</a> <a class="hashtag" rel="nofollow noopener noreferrer" href="https://bsky.app/search?q=%23dplyr" target="_blank">#dplyr</a> <a class="hashtag" rel="nofollow noopener noreferrer" href="https://bsky.app/search?q=%23tidyverse" target="_blank">#tidyverse</a> <a class="hashtag" rel="nofollow noopener noreferrer" href="https://bsky.app/search?q=%23dataframe" target="_blank">#dataframe</a> <a class="hashtag" rel="nofollow noopener noreferrer" href="https://bsky.app/search?q=%23baseR" target="_blank">#baseR</a> <a class="hashtag" rel="nofollow noopener noreferrer" href="https://bsky.app/search?q=%23blog" target="_blank">#blog</a></p>
Steven Sanderson<p>I've talked about creating data.frames and tibbles before, but it is an important topic so I have covered it again. This time specifically from the perspective of creating them from vectors.</p><p>Post: <a href="https://www.spsanderson.com/steveondata/posts/2025-06-09/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">spsanderson.com/steveondata/po</span><span class="invisible">sts/2025-06-09/</span></a></p><p><a href="https://rstats.me/tags/R" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>R</span></a> <a href="https://rstats.me/tags/RStats" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RStats</span></a> <a href="https://rstats.me/tags/tibble" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>tibble</span></a> <a href="https://rstats.me/tags/dplyr" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dplyr</span></a> <a href="https://rstats.me/tags/tidyverse" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>tidyverse</span></a> <a href="https://rstats.me/tags/dataframe" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dataframe</span></a> <a href="https://rstats.me/tags/baseR" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>baseR</span></a> <a href="https://rstats.me/tags/blog" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>blog</span></a> <a href="https://rstats.me/tags/Technology" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Technology</span></a></p>
Steven P. Sanderson II, MPH<p>I've talked about creating data.frames and tibbles before, but it is an important topic so I have covered it again. This time specifically from the perspective of creating them from vectors.</p><p>Post: <a href="https://www.spsanderson.com/steveondata/posts/2025-06-09/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">spsanderson.com/steveondata/po</span><span class="invisible">sts/2025-06-09/</span></a></p><p><a href="https://mstdn.social/tags/R" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>R</span></a> <a href="https://mstdn.social/tags/RStats" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RStats</span></a> <a href="https://mstdn.social/tags/tibble" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>tibble</span></a> <a href="https://mstdn.social/tags/dplyr" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dplyr</span></a> <a href="https://mstdn.social/tags/tidyverse" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>tidyverse</span></a> <a href="https://mstdn.social/tags/dataframe" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dataframe</span></a> <a href="https://mstdn.social/tags/baseR" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>baseR</span></a> <a href="https://mstdn.social/tags/blog" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>blog</span></a> <a href="https://mstdn.social/tags/Technology" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Technology</span></a></p>
Francois Dion<p>Anybody using the narwhals <a href="https://mastodon.online/tags/python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>python</span></a> package for <a href="https://mastodon.online/tags/dataframe" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dataframe</span></a> manipulations?</p><p>Very comfortable with <a href="https://mastodon.online/tags/pandas" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>pandas</span></a> and <a href="https://mastodon.online/tags/polars" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>polars</span></a> syntax, but although <a href="https://mastodon.online/tags/narwhals" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>narwhals</span></a> is supposed to be very close to polars, it is a subset and I find that there is a lot of basic stuff missing. Trying to figure out how to get the first part of a str.split.</p><p>in pandas I just add .str[0] and in polars .list.get(0)</p><p>with narwhals neither approaches are implemented. Any idea as what is supported in narwhals to do this?<br><a href="https://mastodon.online/tags/programming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>programming</span></a></p>
r⁵py<p>Computing travel time matrices in r⁵py from <span class="h-card" translate="no"><a href="https://fosstodon.org/@geopandas" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>geopandas</span></a></span> <a href="https://mapstodon.space/tags/DataFrame" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DataFrame</span></a> is two lines of code: </p><p>(1) create an r5py.TransportNetwork from <span class="h-card" translate="no"><a href="https://en.osm.town/@openstreetmap" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>openstreetmap</span></a></span> and <a href="https://mapstodon.space/tags/GTFS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>GTFS</span></a> data</p><p>(2) turn it into an r5py.TravelTimeMatrix()</p><p>Try it out in <a href="https://mapstodon.space/tags/binder" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>binder</span></a>: <a href="https://r5py.readthedocs.io/stable/user-guide/user-manual/quickstart.html" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">r5py.readthedocs.io/stable/use</span><span class="invisible">r-guide/user-manual/quickstart.html</span></a></p>
simpleSolution<p>OPEN SOURCE 🚀 </p><p>The Problem❔ </p><p>There have been many instances where I needed to compare two dataframes and analyze their differences. To address this need, I created a fast Python library called "data_fingerprint" that does exactly that.</p><p>Check it out and let me know what you think! 🕵‍♂️ <br><a href="https://github.com/SimpleSimpler/data_fingerprint" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/SimpleSimpler/data_</span><span class="invisible">fingerprint</span></a></p><p><a href="https://mastodon.social/tags/datascience" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>datascience</span></a> <a href="https://mastodon.social/tags/python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>python</span></a> <a href="https://mastodon.social/tags/pandas" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>pandas</span></a> <a href="https://mastodon.social/tags/dataanalytics" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dataanalytics</span></a> <a href="https://mastodon.social/tags/dataengineering" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dataengineering</span></a> <a href="https://mastodon.social/tags/dataframe" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dataframe</span></a> <a href="https://mastodon.social/tags/data" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>data</span></a></p>
SimonMolinsky<p>I’ve written article about <a href="https://fosstodon.org/tags/pandera" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>pandera</span></a> - <a href="https://fosstodon.org/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a> package used for <a href="https://fosstodon.org/tags/pandas" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>pandas</span></a> <a href="https://fosstodon.org/tags/DataFrame" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DataFrame</span></a> validation: <a href="https://www.linkedin.com/pulse/do-you-use-dataframes-your-production-environment-schema-molinski-9swaf" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">linkedin.com/pulse/do-you-use-</span><span class="invisible">dataframes-your-production-environment-schema-molinski-9swaf</span></a></p><p>(Sorry that this is on LinkedIn, but I’m trying to reach general audience there - my main goal is to promote the package and <span class="h-card" translate="no"><a href="https://fosstodon.org/@pyOpenSci" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>pyOpenSci</span></a></span> , and LinkedIn has larger community than my personal blog 😊)</p>