<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[trymito - Medium]]></title>
        <description><![CDATA[The first spreadsheet that generates Python that corresponds to your edits. Check us out at trymito.io. - Medium]]></description>
        <link>https://medium.com/trymito?source=rss----a807b2fd9fc4---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>trymito - Medium</title>
            <link>https://medium.com/trymito?source=rss----a807b2fd9fc4---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 14 Nov 2026 00:40:59 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/trymito" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[New Python Packages for Data Cleaning]]></title>
            <link>https://medium.com/trymito/new-python-packages-for-data-cleaning-735d67878455?source=rss----a807b2fd9fc4---4</link>
            <guid isPermaLink="false">https://medium.com/p/735d67878455</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[excel]]></category>
            <category><![CDATA[pandas]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Jake from Mito]]></dc:creator>
            <pubDate>Tue, 31 May 2022 04:43:08 GMT</pubDate>
            <atom:updated>2022-05-31T04:42:58.097Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*2XQtIqo-iOm1YQul.png" /><figcaption>from Author</figcaption></figure><ol><li><a href="http://trymito.io/">Mito</a></li></ol><p><a href="http://trymito.io/">Mito</a> allows the user to do data cleaning from a spreadsheet inside Python. <strong>You can call Mito into your Python environment, and each edit you make in the Mito spreadsheet will generate the equivalent Python in the code cell below.</strong></p><p>Here is a demo video:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FLFfWfqzdKyE%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DLFfWfqzdKyE&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FLFfWfqzdKyE%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/b05ab1b15b93939e89e77db229534d8d/href">https://medium.com/media/b05ab1b15b93939e89e77db229534d8d/href</a></iframe><p>Install commands for Mito:</p><pre>python -m pip install mitoinstaller<br>python -m mitoinstaller install</pre><p>Then open Jupyter Lab and call the Mitosheet</p><pre>import mitosheet<br>mitosheet.sheet()</pre><p>The full instructions can be found on the <a href="http://trymito.io/">Mito website</a> under “docs.”</p><p>In terms of data cleaning functionality, Mito has everything that a user can expect from a spreadsheet. These features range from trimming strings, to summary stats, to deduplicating and filling nulls values. Each of these operations will generate the equivalent Python for you.</p><p>Here is what it looks like to use filters, pivot tables, and graphs in Mito.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*PmDn1e0IXJU2NmP_.gif" /><figcaption>from Author</figcaption></figure><p><a href="http://trymito.io/">Mito</a> is focused on making data cleaning processes faster and more accessible. While Mito provides a visual interface for your cleaning, it still generates fully documented Python that can be used to automate or share your analysis.</p><p><strong>2. </strong><a href="https://arrow.readthedocs.io/en/latest/"><strong>Arrow</strong></a></p><p>Arrow is a Python package all about helping the user handle, dates, time, and timestamps. These can be some of the most annoying pieces of data for a user to handle and clean — arrow solves this.</p><p>Here is a screenshot from their documentation with their full list of features:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*NMDXiEmAloCAkKq4.png" /><figcaption><a href="https://arrow.readthedocs.io/en/latest/">https://arrow.readthedocs.io/en/latest/</a></figcaption></figure><p>To install arrow:</p><pre>pip install -U arrow</pre><p>Here is a demo video of the package:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fk9D_8gX7t2U%3Fstart%3D270%26feature%3Doembed%26start%3D270&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dk9D_8gX7t2U&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fk9D_8gX7t2U%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/13679ee8aa951979fa62d53c1ca9abeb/href">https://medium.com/media/13679ee8aa951979fa62d53c1ca9abeb/href</a></iframe><p>Parsing time data and cleaning it is an important step in the data science workflow. Packages like Arrow obfuscate these processes to a much friendlier syntax that make them easier to complete. Not only is the syntax shorter, but it is also easier to remember, so the user does not have to go to Google or Stack Overflow as often.</p><p><strong>3. </strong><a href="https://scrubadub.readthedocs.io/en/stable/usage.html"><strong>Scrubadub</strong></a></p><p>This package is all about removing personally identifiable data from datasets. As privacy laws become more and more stringent (as they should!), Python users and businesses at large are increasingly focused on removing personal data.</p><p>Here are examples of the PII that this packages removes (taken from the package documentation):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*wD5K_Hg-bXSZPRuU.png" /><figcaption><a href="https://scrubadub.readthedocs.io/en/stable/">https://scrubadub.readthedocs.io/en/stable/</a></figcaption></figure><p>To install:</p><pre>pip install scrubadub</pre><p>Here is an overview of how the package works:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-CGvsTgWvHy7rJuO.png" /><figcaption><a href="https://scrubadub.readthedocs.io/en/stable/usage.html">https://scrubadub.readthedocs.io/en/stable/usage.html</a></figcaption></figure><p>I hope you find these packages helpful :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=735d67878455" width="1" height="1" alt=""><hr><p><a href="https://medium.com/trymito/new-python-packages-for-data-cleaning-735d67878455">New Python Packages for Data Cleaning</a> was originally published in <a href="https://medium.com/trymito">trymito</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[9 Pandas Functions for Exploratory Data Analysis]]></title>
            <link>https://medium.com/trymito/9-pandas-functions-for-exploratory-data-analysis-a4c6b4a7a2c?source=rss----a807b2fd9fc4---4</link>
            <guid isPermaLink="false">https://medium.com/p/a4c6b4a7a2c</guid>
            <category><![CDATA[pandas]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[excel]]></category>
            <dc:creator><![CDATA[Jake from Mito]]></dc:creator>
            <pubDate>Mon, 30 May 2022 06:04:24 GMT</pubDate>
            <atom:updated>2022-05-30T06:04:15.799Z</atom:updated>
            <content:encoded><![CDATA[<p>Exploratory Data Analysis (EDA) can be an essential part of your data science process. I want to emphasize the work “can”. I’ve seen many people expand their EDA process to a point of overkill. Of course there are always more patterns to be found, but you need to build a sense of awareness for when your EDA process has gone long enough, and you have a good feel for the data. The goal (in most cases) is not to explore the data — it is to analyze the data in some way, often through a model.</p><p>In an effort to make your EDA processes more efficient, here are 9 functions I use for quick EDA!</p><p>Note!!!! — These functions require <strong>Pandas</strong> and <strong>Numpy.</strong></p><h3>df.info()</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/928/0*J0EEiP-DpJbjQ2tR.png" /></figure><p>For any data frame the .info() function will tell you how many entrees you have, the names of each column, the data type of each column, and how many non-null values you have in each column. You can compare the quantity of non-null values to the total number of entries to find which columns have null values.</p><h3>Find Duplicates</h3><pre>print(df.duplicated().sum())</pre><p>There are multiple ways to find duplicates rows in your dataset. This function above is the easies, as it will find all the duplicate entries and print how many there are. If it prints “0”, there are no duplicates and you are good to go!</p><h3>Find Unique Values in a Column</h3><pre>df[&quot;column_name&quot;].unique()</pre><p>In much of you EDA, you are focused on a few key columns. This functions quickly prints all the unique values of that column, so you can understand the breadth and range of the values. Below is what the output looks like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*fYyfLxGeAKaQt4YP.png" /></figure><h3>Find the Counts of Unique Values in a Column</h3><pre>df[&quot;column_name&quot;].value_counts()</pre><p>This function build upon the previous one by providing you the unique values in that column that have the largest and smallest frequencies. This is a great way to <strong>look for outliers.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/766/0*0mP6FSGk1lzQm8pW.png" /></figure><h3>Find all the Null Values in a Dataframe</h3><pre>df.isnull().sum()</pre><p>This function combines .isnull() and .sum() and will return a list of each column in the data frame with the amount of null values in each column. Finding null values is an important part of EDA and data cleaning. Here is the output of the function call:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/470/0*nXmxC3l_GPHTBoN8.png" /></figure><h3>Fill Null Values with Zeros (or any filler)</h3><pre>df.replace(np.nan, &quot;0&quot;, inplace = True)</pre><p>This function will take your entire data frame and fill the null values with zeros, or whatever value you put in the second argument of the function. It is certainly the fastest way to get rid of your null values, putting your dataset in a place that will avoid more errors and dead-ends in your analysis. If you are not sure whether or not Null values will impact your analysis, I advise you to either fill them or delete the entries that hold the null values.</p><h3>Filter Rows in your Dataframe</h3><pre>df2 = df[df[&quot;column_name&quot;] &gt; 100]</pre><p>The line of code above creates a new data frame that hold all the rows, where “column_name” is greater than some value. You can, of course, filter on other conditionals such as “less than” or “equals to” and more complex conditionals, with multiple conditions.</p><h3>Create a box-plot for any column</h3><pre>df.boxplot()</pre><p>The function above will return box plots for all the numerical columns in dataset.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/790/0*ZbXHyunTV-ktGoSJ.png" /></figure><p>To specify that the box plot only be created for a certain column, use this function:</p><pre>df[&quot;column_name&quot;].boxplot()</pre><h3>Create a Correlation Matrix</h3><pre>df.corr()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/664/0*4jdCAw7IaZ1-p4i6.png" /></figure><p>This pandas function will only return correlations for pairs of numeric columns.</p><p>To see all 9 of these functions in action, here is a quick <a href="https://www.youtube.com/watch?v=dxJvJJKyL1A">tutorial video</a>:</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a4c6b4a7a2c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/trymito/9-pandas-functions-for-exploratory-data-analysis-a4c6b4a7a2c">9 Pandas Functions for Exploratory Data Analysis</a> was originally published in <a href="https://medium.com/trymito">trymito</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[3 Spreadsheets of the Future]]></title>
            <link>https://medium.com/trymito/3-spreadsheets-of-the-future-d97380529474?source=rss----a807b2fd9fc4---4</link>
            <guid isPermaLink="false">https://medium.com/p/d97380529474</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[pandas]]></category>
            <category><![CDATA[excel]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Jake from Mito]]></dc:creator>
            <pubDate>Mon, 30 May 2022 05:47:05 GMT</pubDate>
            <atom:updated>2022-05-30T05:46:49.573Z</atom:updated>
            <content:encoded><![CDATA[<h3>Mito</h3><p><a href="https://docs.trymito.io/getting-started/installing-mito">Mito</a> is a free Python package that allows users to integrate a fully functioning spreadsheet into their Jupyter Lab environment. Like any good spreadsheet, you can interactively look at your data, and make all the standard transformations that you would in Excel. Things like filtering, pivoting, and graphing your data is all only a couple clicks away in Mito. And to ensure that you’re able to take the edits that you’ve made to your dataframe with you in the rest of your analysis, <strong>every time you make an edit in the Mito spreadsheet, Mito automatically generates the equivalent Python in the code cell below.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*tcRUuJ0yKWStQLL8" /><figcaption><a href="https://www.trymito.io/">https://www.trymito.io/</a></figcaption></figure><p>When doing data analysis in Python, you’re forced to constantly print out the dataframe to validate that the transformations you’ve made are what you expect! By integrating a spreadsheet into your Python analysis, you can have the power of Python with the intuitiveness and conectedness of a spreadsheet.</p><p><a href="https://docs.trymito.io/">Mito</a> is great for Python users who want to generate their syntax more quickly, without needing to go to Stack Overflow or google. It is also used by Excel users, who want to transition their skills to Python.</p><p>To install Mito, run these commands:</p><pre>python -m pip install mitoinstaller<br>python -m mitoinstaller install</pre><p>Then, run these commands that should appear in Jupyter:</p><pre>import mitosheet<br>mitosheet.sheet()</pre><p>Here are the <a href="https://docs.trymito.io/getting-started/installing-mito">full install instructions.</a></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FLFfWfqzdKyE%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DLFfWfqzdKyE&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FLFfWfqzdKyE%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/b05ab1b15b93939e89e77db229534d8d/href">https://medium.com/media/b05ab1b15b93939e89e77db229534d8d/href</a></iframe><h3>Rows</h3><p><a href="https://rows.com/">Rows</a> is a new age spreadsheet built for teams. Just like any good spreadsheet, it has all the basic Excel functions built in, SUM, VLOOKUP, and SUMIF just to name a few. But where Rows really stands out, is its collaboration and integrations features.</p><p>Rows integrates with your data sources like Google Analytics, Salesforce, and LinkedIn search, so you can pull all of your data into your Rows spreadsheet without copying and pasting across multiple spreadsheets. Use their built in connectors to pull and refresh all of your data.</p><p>After you’ve created the basic structure of your spreadsheet, you can collaborate with your teammates in real time to finish constructing your dataset.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Uuej1YAaeYBBjv8CBilMAg.png" /><figcaption><a href="https://rows.com/features">https://rows.com/features</a></figcaption></figure><h3>Clay</h3><p><a href="https://www.clay.com/">Clay</a> was designed specifically for constructing datasets that relies on data from multiple, live updating data sources. Like, Rows, they use the computation of the spreadsheet to pull and refresh your data. They let you see your complete dataset and obscure all of the messy data connection logic behind the scenes.</p><p>To help you get started, they have a rich set of <a href="https://www.clay.com/templates">Clay templates</a> that will help you connect to your data sources.</p><p>Regardless of your work, there is probably a new-age spreadsheet that is being designed specifically for you. Some other interesting projects to check out:</p><ol><li><a href="https://www.stackerhq.com/?utm_source=google&amp;utm_medium=cpc&amp;utm_campaign=BC-RLSA&amp;utm_term=no-code%20app%20builder&amp;utm_content=&amp;device=c&amp;gclid=Cj0KCQjwtMCKBhDAARIsAG-2Eu8BvEimtOGweJqlMXG-VUjVInrSpX8mPGMC-rOUXsCgwGa8e2ZFkPwaAmUrEALw_wcB">StackerHQ</a> — Build custom software that empowers your partners, teammates and customers.</li><li><a href="https://www.smartsheet.com/">Smartsheet</a> — Empower business users to collaboratively create business-driven solutions</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d97380529474" width="1" height="1" alt=""><hr><p><a href="https://medium.com/trymito/3-spreadsheets-of-the-future-d97380529474">3 Spreadsheets of the Future</a> was originally published in <a href="https://medium.com/trymito">trymito</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[3 Python Packages for Every Data Scientist]]></title>
            <link>https://medium.com/trymito/3-python-packages-for-every-data-scientist-49d40f696295?source=rss----a807b2fd9fc4---4</link>
            <guid isPermaLink="false">https://medium.com/p/49d40f696295</guid>
            <category><![CDATA[excel]]></category>
            <category><![CDATA[pandas]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Jake from Mito]]></dc:creator>
            <pubDate>Thu, 19 May 2022 18:27:22 GMT</pubDate>
            <atom:updated>2022-05-19T18:27:13.686Z</atom:updated>
            <content:encoded><![CDATA[<ol><li><a href="https://docs.trymito.io/">Mito</a></li></ol><p>Mito is a spreadsheet front-end for Python. You can call Mito into your Jupyter Notebook and each edit you make in the front-end will <strong>generate the equivalent Python</strong>. With Mito, you don’t have to spend any time looking for syntax on Stack Overflow or Google. The code is generated for you, so you can ensure that you are creating correct, clean code.</p><p>Here is a video demo:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FLFfWfqzdKyE%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DLFfWfqzdKyE&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FLFfWfqzdKyE%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/b05ab1b15b93939e89e77db229534d8d/href">https://medium.com/media/b05ab1b15b93939e89e77db229534d8d/href</a></iframe><p>To install Mito, use these three commands in your terminal:</p><pre>python -m pip install mitoinstaller<br>python -m mitoinstaller install</pre><p>Then to open the Mitosheet interface:</p><pre>import mitosheet<br>mitosheet.sheet()</pre><p>Here is a link to the full <a href="https://docs.trymito.io/getting-started/installing-mito">install instructions</a>.</p><p>You can configure a Mito pivot table by selecting the Pivot button from the toolbar and then choosing your rows, columns, values and aggregation types.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ujjFNTP6FPPXhcty.png" /></figure><p>Each edit in Mito generates the equivalent Python in the code cell below. It is a much faster way of producing code than constantly heading to Stack Overflow to find the correct syntax.</p><p>The pivot table above generates this code and auto-comments it as well!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*MUFGhBLRBffzxmt_.png" /></figure><p>Mito does not just generate the code for pivot tables. <strong>In</strong> <strong>Mito, you can merge datasets, filter, sort, use functions, look at summary statistics, and more — and Mito will generate the equivalent Python for each of these edits.</strong>.</p><p>To create a Plotly chart, all the user has to do is click the graph button and select their axes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9iKeKkYpd_-yIqF7.png" /></figure><p>Here is Mito’s <a href="https://docs.trymito.io/">full documentation</a>.</p><p><a href="https://docs.streamlit.io/en/stable/">2. Streamlit</a></p><p>Streamlit is an open source Python package that lets you spin up data apps for ML and Data Science super simply.</p><p>The analysis part of Data Science is important, but you need to be able to communicate those findings. Interactive apps that are easy for end-users to engage with, are becoming increasingly popular.</p><p>To import Streamlit, run:</p><pre>pip install streamlit<br>streamlit hello</pre><p>The second command will open a demo environment in another window.</p><p>In Streamlit, you can do things like create a line chart:</p><pre>chart_data = pd.DataFrame(<br>     np.random.randn(20, 3),<br>     columns=[&#39;a&#39;, &#39;b&#39;, &#39;c&#39;])</pre><pre>st.line_chart(chart_data)</pre><p>Or add interactive widgets:</p><pre><strong>if</strong> st.checkbox(&#39;Show dataframe&#39;):<br>    chart_data = pd.DataFrame(<br>       np.random.randn(20, 3),<br>       columns=[&#39;a&#39;, &#39;b&#39;, &#39;c&#39;])</pre><pre>    chart_data</pre><p>Here is there full <a href="https://docs.streamlit.io/en/stable/getting_started.html">getting started documentation</a>.</p><p>Here if a full course that goes over different apps you can build with Streamlit:</p><p><a href="https://plotly.com/graphing-libraries/">3. Plotly</a></p><p>Plotly is the graphing library of the future. It is the best package for quickly and easily making <strong>interactive charts and graphs</strong>. Packages like matplotlib and seaborn are certainly intuitive as well, but they lack the interactivity that makes Plotly so strong.</p><p>To install Plotly, run this command:</p><pre>$ pip install plotly==5.2.1</pre><p>In Plotly, there are a whole host of interactive charts to choose from. There are simpler charts, where changing the color of the bars is the interactivity.</p><pre><strong>import</strong> plotly.graph_objects <strong>as</strong> go<br>fig = go.Figure(data=go.Bar(y=[2, 3, 1]))<br>fig.show()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*KtO67gtOjC5j6qKd.png" /><figcaption><a href="https://plotly.com/python/">https://plotly.com/python/</a></figcaption></figure><p>They also offer more advanced, dynamic charts:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*sMmzr6XM-o6vmW4H.png" /><figcaption><a href="https://plotly.com/python/">https://plotly.com/python/</a></figcaption></figure><p>I hope you find these packages helpful :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=49d40f696295" width="1" height="1" alt=""><hr><p><a href="https://medium.com/trymito/3-python-packages-for-every-data-scientist-49d40f696295">3 Python Packages for Every Data Scientist</a> was originally published in <a href="https://medium.com/trymito">trymito</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Transition from Excel to Python]]></title>
            <link>https://medium.com/trymito/transition-from-excel-to-python-234b16e87c9b?source=rss----a807b2fd9fc4---4</link>
            <guid isPermaLink="false">https://medium.com/p/234b16e87c9b</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[excel]]></category>
            <category><![CDATA[pandas]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Jake from Mito]]></dc:creator>
            <pubDate>Thu, 19 May 2022 18:11:03 GMT</pubDate>
            <atom:updated>2022-05-19T18:10:54.893Z</atom:updated>
            <content:encoded><![CDATA[<p>A breakdown of tools that allow Excel users users to join the Python community</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*jyBDopNRqAnl9F9R" /><figcaption>Photo by <a href="https://unsplash.com/@pietrozj?utm_source=medium&amp;utm_medium=referral">Pietro Jeng</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Colloquially, Excel is the greatest piece of software ever written. There is an endless list of positive qualities about Excel, but its flexibility, ease of use, and open environment for scratch work are the most noteworthy to me. As powerful as Excel is, I find it increasingly lagging in its ability to handle large datasets and perform data science like tasks, which is required for more and more tasks.</p><p>In this blog, I will go over all the useful tooling I have found to help Excel users transition their workflows to and augment their workflows with Python. I will break this into three categories: Transitioning Excel Workflows to Python, Using Python to Augment Excel, and Resources for Excel Users Learning Python</p><h3>Transition from Excel to Python</h3><p>There are many Excel users who want to learn Python. Fortunately there are many tools that make the transition easy.</p><p><a href="http://trymito.io/"><strong>Mito</strong></a></p><p>Mito is a spreadsheet that generates Python. You can call it into your Python environment and each edit you make in the spreadsheet will generate the equivalent Python. Here is a demo video of some data exploration:</p><p>To install Mito, run these commands in your terminal:</p><pre>python -m pip install mitoinstaller<br>python -m mitoinstaller install<br>python -m jupyter lab</pre><p>Here is the full Mito <a href="https://docs.trymito.io/getting-started/installing-mito">documentation</a>.</p><p><a href="https://lux-api.readthedocs.io/en/latest/"><strong>Lux</strong></a></p><p>One of the many reasons that Excel users come to Python for is for better visualizations. Python allows for more dynamic charts on larger datasets than Excel can access. Lux is great for new Excel users transitioning to Python because it requires very little coding. All you have to do is pass in your dataset and Lux will recommend charts for your data that can you select from.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*UTtJNKqn5e7_3CdT.png" /><figcaption><a href="https://lux-api.readthedocs.io/en/latest/">https://lux-api.readthedocs.io/en/latest/</a></figcaption></figure><p>In the image above, you can see that Lux will recommend different distribution relationships for columns in your data frame, and the user just has to click which one(s) they want to use.</p><p>To install Lux in your Python environment, just run:</p><pre>**pip install lux-api**</pre><p><strong>Pandas Profiling</strong></p><p>This package allows for user friendly Exploratory Data Analysis. To install, run these commands:</p><pre>import sys<br>!{sys.executable} -m pip install -U pandas-profiling[notebook]<br>!jupyter nbextension enable --py widgetsnbextension</pre><p>Pandas Profiling allows you to easily explore summary statistics, find Null Values, and see correlations etc., in a visual environment. The best part is that it is called right into your Python editor, fitting seamlessly into your workflow.</p><h3>Using Python to Augment Excel</h3><p>For those who do not want to start using Python as their primary data analysis tool, but <em>do</em> want to reap the advantages of Python, there are many tools worth trying out.</p><p><strong>XLwings</strong></p><p>XLwings is an open source Python package that allows you to automate spreadsheet work with Python. You can manipulate your spreadsheet data with the flexibility and power of Python. Handling hundreds of thousands of data entries is a much smoother process with a Python engine running it. You can also use the package to create Python macros, replacing VBA.</p><p>To import the package, run this command:</p><pre>pip install xlwing</pre><p>This is what sample code from the <a href="https://docs.xlwings.org/en/stable/index.html">documentation website</a> looks like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*W6_ImiAAVJFi7OCk.png" /><figcaption><a href="https://www.xlwings.org/">https://www.xlwings.org/</a></figcaption></figure><p>XLwings is great for using Python to speed up your Excel processes.</p><p><a href="https://openpyxl.readthedocs.io/en/stable/tutorial.html"><strong>Openpyxl</strong></a></p><p>Openpyxl is a Python package that lets you easily read and write Excel files from a Python environment. You can create an Excel workbook from scratch, define cell values, merge cells, insert images etc. Imagine you are using Excel but all the buttons are Python commands that you write. There is more nuance to this description — this is just the high level. Here is the <a href="https://openpyxl.readthedocs.io/en/stable/tutorial.html">full documentation</a>, if interested.</p><h3>Resources for Excel Users Learning Python</h3><p>Many creators are sharing great guides for Excel users to transition to Python. Here are a few I recommend you check out:</p><ol><li><a href="https://pbpython.com/">Practical Business Python </a>— a great website with Python, tutorials, tips, and documentation from the perspective of a business user. It is a great forum for learning how to introduce Python into your business tasks.</li><li><a href="https://www.youtube.com/channel/UCJHs6RO1CSM85e8jIMmCySw">Derrick Sherill </a>— his youtube channel has many helpful Python tutorials, but also some great videos on automating spreadsheet processes using Python</li><li><a href="https://www.python-excel.org/">python-excel.org</a> — this site has a list of Python packages built for connecting to spreadsheets, including some mentioned in this article.</li></ol><p>I hope these resources were useful. Please leave a comment, if you have any others that you recommend :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=234b16e87c9b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/trymito/transition-from-excel-to-python-234b16e87c9b">Transition from Excel to Python</a> was originally published in <a href="https://medium.com/trymito">trymito</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[4 Python Packages for Better data science]]></title>
            <link>https://medium.com/trymito/4-python-packages-for-better-data-science-e321419a8a3?source=rss----a807b2fd9fc4---4</link>
            <guid isPermaLink="false">https://medium.com/p/e321419a8a3</guid>
            <category><![CDATA[excel]]></category>
            <category><![CDATA[pandas]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Jake from Mito]]></dc:creator>
            <pubDate>Wed, 18 May 2022 14:54:36 GMT</pubDate>
            <atom:updated>2022-05-18T14:54:24.224Z</atom:updated>
            <content:encoded><![CDATA[<h3>4 Python Packages for Better Data Science</h3><h3>1. Mito</h3><p><a href="http://trymito.io/">Mito</a> is a spreadsheet front-end for Python. You can call Mito into your Jupyter Notebook and each edit you make in the front-end will <strong>generate the equivalent Python</strong>.</p><p>Here is a video demo:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FLFfWfqzdKyE%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DLFfWfqzdKyE&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FLFfWfqzdKyE%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/b05ab1b15b93939e89e77db229534d8d/href">https://medium.com/media/b05ab1b15b93939e89e77db229534d8d/href</a></iframe><p>To install Mito, use these commands:</p><pre>python -m pip install mitoinstaller<br>python -m mitoinstaller install</pre><p>Then to open the Mitosheet interface:</p><pre>import mitosheet<br>mitosheet.sheet()</pre><p>Here is a link to the full <a href="https://docs.trymito.io/getting-started/installing-mito">install instructions</a>.</p><p>You can configure a Mito pivot table by selecting the Pivot button from the toolbar and then choosing your rows, columns, values and aggregation types.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Q7_ULCdMBqNcrLrW" /><figcaption><a href="http://docs.trymito.io/">docs.trymito.io</a></figcaption></figure><p>Each edit in Mito generates the equivalent Python in the code cell below. It is a much faster way of producing code than constantly heading to Stack Overflow to find the correct syntax.</p><p>The pivot table above generates this code and auto-comments it as well!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ptPRTeNAI0cQta10.png" /></figure><p>Mito does not just generate the code for pivot tables. <strong>In</strong> <strong>Mito, you can merge datasets, filter, sort, use functions, look at summary statistics, and more — and Mito will generate the equivalent Python for each of these edits.</strong>.</p><p>To create a Plotly chart, all the user has to do is click the graph button and select their axes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*6mMBTsJ1XMVukWOq" /></figure><p>Here is Mito’s <a href="https://docs.trymito.io/">full documentation</a>.</p><h3><a href="https://plotly.com/graphing-libraries/">2. Plotly</a></h3><p>Plotly is the graphing library of the future. It is the best package for quickly and easily making <strong>interactive charts and graphs</strong>. Packages like matplotlib and seaborn are certainly intuitive as well, but they lack the interactivity that makes Plotly so strong.</p><p>To install Plotly, run this command:</p><pre>$ pip install plotly==5.2.1</pre><p>In Plotly, there are a whole host of interactive charts to choose from. There are simpler charts, where changing the color of the bars is the interactivity.</p><pre><strong>import</strong> plotly.graph_objects <strong>as</strong> go<br>fig = go.Figure(data=go.Bar(y=[2, 3, 1]))<br>fig.show()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*nXPM137-Cnkd3K1p.png" /><figcaption><a href="https://plotly.com/python/">https://plotly.com/python/</a></figcaption></figure><p>They also offer more advanced, dynamic charts:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*i90H23AjLwF69qIx.png" /><figcaption><a href="https://plotly.com/python/">https://plotly.com/python/</a></figcaption></figure><h3><a href="https://www.tensorflow.org/guide/keras/sequential_model">3. Tensorflow</a></h3><p>Tensorflow is an open source machine learning package that was originally developed by Google. It has made <strong>machine learning in Python much more accessible</strong>, and continues to do so as new updates come out.</p><p>To import the package, run these commands</p><pre>import tensorflow as tf<br>from tensorflow import keras<br>from tensorflow.keras import layers</pre><p>Here is an example of a simple model you can run with Tensorflow:</p><pre>class SimpleModule(tf.Module):<br>  def __init__(self, name=None):<br>    super().__init__(name=name)<br>    self.a_variable = tf.Variable(5.0, name=&quot;train_me&quot;)<br>    self.non_trainable_variable = tf.Variable(5.0, trainable=False, name=&quot;do_not_train_me&quot;)<br>  def __call__(self, x):<br>    return self.a_variable * x + self.non_trainable_variable</pre><pre>simple_module = SimpleModule(name=&quot;simple&quot;)</pre><pre>simple_module(tf.constant(5.0))</pre><p>Here is the <a href="https://www.tensorflow.org/guide/intro_to_modules">full documentation</a> and datasets for this model.</p><p>Tensorflow allows you to easily build <strong>neural networks. </strong>Here is a screenshot from their neural networks tutorial.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Z3-DQxKCBifN30Az.png" /></figure><p>Here is a link to the <a href="https://www.tensorflow.org/tutorials/quickstart/beginner">full guide.</a></p><h3><a href="https://selenium-python.readthedocs.io/">4. Selenium</a></h3><p>Web-scraping can be an integral part of certain Data Science workflows. <strong>Selenium is making this process much easier</strong>.</p><p>To install the package, run this command:</p><pre>pip install selenium</pre><p>Using selenium, you can select what page you want to scrape:</p><pre>driver.get(&quot;URL&quot;)</pre><p>From here, you can use different strategies that the package provides to scrape the data you want. Here is a link to the <a href="https://selenium-python.readthedocs.io/locating-elements.html">full documentation</a></p><p>I hope you found these packages helpful :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e321419a8a3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/trymito/4-python-packages-for-better-data-science-e321419a8a3">4 Python Packages for Better data science</a> was originally published in <a href="https://medium.com/trymito">trymito</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[4 Python Tools that Make you Code]]></title>
            <link>https://medium.com/trymito/4-python-tools-that-make-you-code-f27d44c0f0cc?source=rss----a807b2fd9fc4---4</link>
            <guid isPermaLink="false">https://medium.com/p/f27d44c0f0cc</guid>
            <category><![CDATA[pandas]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[excel]]></category>
            <dc:creator><![CDATA[Jake from Mito]]></dc:creator>
            <pubDate>Fri, 13 May 2022 06:56:45 GMT</pubDate>
            <atom:updated>2022-05-13T06:56:27.693Z</atom:updated>
            <content:encoded><![CDATA[<h3>4 Python Tools that Make you Code Faster</h3><h3>Pandas GUI — a graphical interface for Pandas</h3><p><a href="https://github.com/adamerose/pandasgui">Pandas GUI </a>abstracts pandas into a really user friendly environment that makes exploratory data analysis and data wrangling much more visual for the user.</p><p>Here is a demo video:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FNKXdolMxW2Y%3Fstart%3D18%26feature%3Doembed%26start%3D18&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DNKXdolMxW2Y&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FNKXdolMxW2Y%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/ebecca46f8588b4935fdc09b25e337e8/href">https://medium.com/media/ebecca46f8588b4935fdc09b25e337e8/href</a></iframe><p>To install, use this line of code:</p><pre>pip install pandasgui</pre><p>Within Pandas GUI, you can filter datasets, generate summary statistics and more!</p><h3>Mito — A Spreadsheet Extension for Jupyter Lab that Generates Code</h3><p><a href="http://docs.trymito.io/">Mito</a> is an editable spreadsheet that you can call into your Python environment. <strong>Each edit you make in the Mitosheet will generate the equivalent Python in the code cell below. </strong>Mito is powerful for data scientists who want to get their analysis done faster, or Excel-familiar users, who want to generate their Python in a similar environment.</p><p>Here is a demo video for Mito:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FJsXVfuttcEY%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DJsXVfuttcEY&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FJsXVfuttcEY%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/480b8e2b90bec1dede3578ce800e76db/href">https://medium.com/media/480b8e2b90bec1dede3578ce800e76db/href</a></iframe><p>Within <a href="http://trymito.io/">Mito</a>, you can:</p><ul><li>Create Visualizations</li><li>Look at Summary Statistics</li><li>Merge Dataset Together</li><li>Generate Pivot Tables</li><li>Edit Specific Cell Values</li><li>Filter and Sort Datasets</li><li>Save and Replay Analyses (macros)</li><li>See Your Edit Steps</li><li>and more…</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*HTCIyG4nTGU0Ed2r.png" /></figure><p>Each edit generates the equivalent Python.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*utwY_9JrBJKYdRmu.gif" /></figure><p>To install Mito, run these commands:</p><pre>python -m pip install mitoinstaller<br>python -m mitoinstaller install</pre><p>Then open Jupyter Lab and render a Mitosheet:</p><pre>import mitosheet<br>mitosheet.sheet()</pre><p>Here are the <a href="https://docs.trymito.io/getting-started/installing-mito">full install instructions.</a></p><h3>Lux — Automated Visualization Suggestions and Generation</h3><p><a href="https://github.com/lux-org/lux">Lux </a>will take any data frame and automatically suggest visualizations that the user can click on and create in an instant. Getting the syntax correct for visualizations can be time consuming and Lux reduces this time to only a few seconds.</p><p>To install lux:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*2VIWXSBGkDr2guj-.gif" /><figcaption><a href="https://github.com/lux-org/lux">https://github.com/lux-org/lux</a></figcaption></figure><p>In the above gif, you can see how the user can pass in any dataframe and Lux will bring up a menu of charts to choose from. The focus of these charts range from data exploration to presentation. The user can also download these charts to share further.</p><p>Lux also offer an intent feature, where you can specify which attributes (columns) they are interested in. Lux will offer charts specific to those columns.</p><pre>df.intent = [&quot;Column1&quot;,&quot;Column2&quot;]<br>df</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/982/0*AADHgLkrBKTYsMb7.gif" /><figcaption><a href="https://github.com/lux-org/lux">https://github.com/lux-org/lux</a></figcaption></figure><h3>Bokeh — Create Interactive Visualizations in Python</h3><p>To start using <a href="https://docs.bokeh.org/en/latest/#">Bokeh</a>:</p><pre>import numpy as np from bokeh.io import output_notebook, show<br>from bokeh.plotting import figure</pre><p>Bokeh innovates on graphing packages like Matplotlib and Seaborn by creating plots that are interactive for end users.</p><p>Here are some of the options they offer:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*uxlG1iSiIfhRQfET.png" /><figcaption><a href="https://demo.bokeh.org/">https://demo.bokeh.org/</a></figcaption></figure><p>Here is the f<a href="https://docs.bokeh.org/en/latest/">ull documentation</a></p><p>Interactive charts are becoming increasingly import in data science. Many packages, like <a href="https://plotly.com/">Plotly</a> and <a href="https://streamlit.io/">Streamlit</a>, are working to give data scientist easy ways to make their work valuable to users outside the data science team. Bokeh seems to be working in that same direction.</p><p>Here is a demo video from the Data Professor that walks through great graphing packages like Bokeh:</p><p>I hope you find these tools helpful :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f27d44c0f0cc" width="1" height="1" alt=""><hr><p><a href="https://medium.com/trymito/4-python-tools-that-make-you-code-f27d44c0f0cc">4 Python Tools that Make you Code</a> was originally published in <a href="https://medium.com/trymito">trymito</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[New in Python: Format your DataFrame like Excel]]></title>
            <link>https://medium.com/trymito/new-in-python-format-your-dataframe-like-excel-4bfcd106ad61?source=rss----a807b2fd9fc4---4</link>
            <guid isPermaLink="false">https://medium.com/p/4bfcd106ad61</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[excel]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[pandas]]></category>
            <dc:creator><![CDATA[Jake from Mito]]></dc:creator>
            <pubDate>Sun, 01 May 2022 03:35:04 GMT</pubDate>
            <atom:updated>2022-05-01T03:34:02.498Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*BcmhnRAmw67YvOnd.png" /><figcaption>From Author</figcaption></figure><p>There is a new Python package called <a href="http://trymito.io/"><strong>Mito</strong></a>, which allows you to edit a DataFrame, as if it were a spreadsheet. Mito a Python extension that you can call into your Jupyter environment. Each edit you make in <strong>Mito will generate the equivalent Python in the code cell below. </strong>Mito looks and feels like a spreadsheet — allowing the user to perform Python data science tasks without needing to write perfect code (or any code at all!)</p><p>Here is<a href="http://trymito.io/"> Mito</a> in action:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fip0PiZGSwV8%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dip0PiZGSwV8&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fip0PiZGSwV8%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/7d115847b90814f3e78e886b68941df1/href">https://medium.com/media/7d115847b90814f3e78e886b68941df1/href</a></iframe><p>Here are the commands to install Mito:</p><pre>python -m pip install mitoinstaller<br>python -m mitoinstaller install</pre><p>Then open Jupyter Lab and call the Mitosheet</p><pre>import mitosheet<br>mitosheet.sheet()</pre><p>The full instructions can be found on the <a href="http://trymito.io/">Mito website</a> under “docs.”</p><p>One of the great things about spreadsheets is that you can edit your data very quickly. <strong>In Mito, you can pick any data-point in the DataFrame and change the value by typing it in — just like a spreadsheet.</strong></p><p>Before you start editing your values, you’ll want to import your data. Mito allows you to pass in any DataFrame, but you can also pass in any Excel or CSV file, directly from your local file system, which you can navigate from Mito.<strong> The tool can handle data sizes that a spreadsheet will not allow and process the data much faster than any spreadsheet.</strong></p><p>After you perform your analysis, you can also export for your data as an Excel or CSV file by clicking the “export” button in the tool bar.</p><p>As mentioned above, each edit you make in Mito will generate the equivalent Python in the code cell below in your notebook. This is an incredibly fast way to generate Python scripts and perform data analysis and cleaning.</p><p>Mito has operations such as:</p><ul><li>Pivot Tables</li><li>Graphing</li><li>Merging</li><li>Filtering</li><li>Sorting</li><li>Summary Statistics</li><li>Spreadsheet Formulas</li><li>Deduplicating</li><li>and more!</li></ul><p>Here is what Pivot tables and Graphing look like in Mito (each of these generates production ready Python for you):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*_pjoNreDU-r5gz5h.gif" /><figcaption>from Author</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*HInuNwgP66Mm2Dim.gif" /><figcaption>from Author</figcaption></figure><p>One powerful feature of Mito from the list above is the ability to use <strong>spreadsheet formulas inside a Python environment</strong>. These formulas are simple to use and require much less tedious syntax than Pandas, yet they still generate the equivalent Pandas code in the cell below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*DbL2ZrNmsJHkKG77.gif" /></figure><p>New Mito Features:</p><p>Mito recently introduced formatting features where, you can format your cells like you are using Excel.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*uA6ZE1P1IC-S7t7F" /></figure><p>You can also export your DataFrame to Excel or a CSV file, using the export interface:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9KzTzqAxVWm0YewR" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4bfcd106ad61" width="1" height="1" alt=""><hr><p><a href="https://medium.com/trymito/new-in-python-format-your-dataframe-like-excel-4bfcd106ad61">New in Python: Format your DataFrame like Excel</a> was originally published in <a href="https://medium.com/trymito">trymito</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[3 Python Packages to Simplify Data Science]]></title>
            <link>https://medium.com/trymito/3-python-packages-to-simplify-data-science-556f89119695?source=rss----a807b2fd9fc4---4</link>
            <guid isPermaLink="false">https://medium.com/p/556f89119695</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[excel]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[pandas]]></category>
            <dc:creator><![CDATA[Jake from Mito]]></dc:creator>
            <pubDate>Sun, 01 May 2022 03:34:46 GMT</pubDate>
            <atom:updated>2022-05-01T03:10:41.252Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://trymito.io/">1.Mito</a></p><p>Mito is a spreadsheet front-end for Python. You can call Mito into your Jupyter Notebook and each edit you make in the front-end will generate the equivalent Python.</p><p>Here is a video demo:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fip0PiZGSwV8%3Fstart%3D104%26feature%3Doembed%26start%3D104&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dip0PiZGSwV8&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fip0PiZGSwV8%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/2586ca1e206af04be6a9b972e351f9ae/href">https://medium.com/media/2586ca1e206af04be6a9b972e351f9ae/href</a></iframe><p>To install Mito, use these commands:</p><pre>python -m pip install mitoinstaller<br>python -m mitoinstaller install</pre><p>Here is a link to the full <a href="https://docs.trymito.io/getting-started/installing-mito">install instructions</a>.</p><p>Mito is a great package for slicing and dicing your data. Mito allows the users to create interactive pivot tables and graphs with just a few clicks.</p><p>Mito pivot tables are a great way to see relationships between different variables and group the data in a way that makes insights more apparent.</p><p>You can configure a Mito pivot table by selecting the Pivot button from the toolbar and then choosing your rows, columns, values and aggregation types.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*lPW8IK_WrIuPkjmH.png" /></figure><p>Each edit in Mito generates the equivalent Python in the code cell below. It is a much faster way of producing code than constantly heading to Stack Overflow to find the correct syntax.</p><p>The pivot table above generates this code and auto-comments it as well!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*L9CiljUiGa5C1kXX.png" /></figure><p>Mito does not just generate the code for pivot tables. <strong>In</strong> <strong>Mito, you can merge datasets, filter, sort, use functions, look at summary statistics, and more — and Mito will generate the equivalent Python for each of these edits.</strong></p><p>Mito also allows the users to generate dynamic <a href="https://plotly.com/">Plotly</a> charts without any coding required. Plotly is an amazing Python graphing package.</p><p>To create a Plotly chart, all the user has to do is click the graph button and select their axes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Fniv5PeSctBrIyLW.png" /></figure><p>Here is Mito’s <a href="https://docs.trymito.io/">full documentation</a>.</p><p><a href="https://pandas-profiling.github.io/pandas-profiling/docs/master/rtd/">2.Pandas Profiling</a></p><p>Pandas Profiling takes the df.describe() function from Pandas and elaborates on the functionality, providing amazing summary information for a dataframe quickly and efficiently.</p><p>Pandas Profiling is a great tool for exploratory data analysis.</p><p>You can install the package locally with these commands:</p><pre>import sys<br>!{sys.executable} -m pip install -U pandas-profiling[notebook]<br>!jupyter nbextension enable --py widgetsnbextension</pre><p>Pandas Profiling provides advanced summary statistics and information for a dataset with out having to write very much code at all.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*4YI-LSIhuiY-gyFM.png" /></figure><p>Here it the full description of the Pandas Profiling functionality, as described on the <a href="https://pandas-profiling.github.io/pandas-profiling/docs/master/rtd/pages/introduction.html">documentation website</a>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*AQYHEQufaOdqyXFS.png" /></figure><p>Two really powerful features are the reports on <strong>Missing Values</strong> and <strong>Descriptive Statistics.</strong> When analyzing a new dataset, handling missing values can be a pain. Pandas Profiling makes this process much easier. The descriptive statistics are great for understanding the dataset more in depth before proceeding in your analysis.</p><p><a href="https://github.com/lux-org/lux">3.Lux</a></p><p>Lux is a great package for visualizing data. The tedium of getting the code exactly correct to make the chart you want can be a large time sink. Lux recommends graphs for you, that you can select with a click of a button.</p><p>Lux can be applied to any dataframe and will automatically suggest graphs that the user can choose from.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*AVbG5aTqawyW1DEO.png" /></figure><p>The users can also use the intent function to pass in the columns they are interested in exploring and Lux will automatically suggest graphs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ly2KJvbiDrLZ07DJ.png" /></figure><p>Lux can be installed with a simple line of Python:</p><pre>**pip install lux-api**</pre><p>I hope these packages are helpful :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=556f89119695" width="1" height="1" alt=""><hr><p><a href="https://medium.com/trymito/3-python-packages-to-simplify-data-science-556f89119695">3 Python Packages to Simplify Data Science</a> was originally published in <a href="https://medium.com/trymito">trymito</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mitosheet: Enabling Collaboration]]></title>
            <link>https://medium.com/trymito/mitosheet-empowering-collaboration-20c9b7b0cbf?source=rss----a807b2fd9fc4---4</link>
            <guid isPermaLink="false">https://medium.com/p/20c9b7b0cbf</guid>
            <category><![CDATA[excel]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[package]]></category>
            <category><![CDATA[collaboration]]></category>
            <category><![CDATA[analysis]]></category>
            <dc:creator><![CDATA[Jared Carollo]]></dc:creator>
            <pubDate>Tue, 26 Apr 2022 14:46:00 GMT</pubDate>
            <atom:updated>2022-05-02T20:31:39.537Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*WvwgzO75T7Avkuyx" /><figcaption>Photo by <a href="https://unsplash.com/@marvelous?utm_source=medium&amp;utm_medium=referral">Marvin Meyer</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>Introduction</h3><p>Analytics is increasingly infused throughout organizations to help leaders make data-driven decisions. All teams consume and create data that has the potential to add value back to the company. The challenge is that these decentralized teams likely have different analytic tools and capabilities. But, to be most effective, the teams must work together to produce actionable insights.</p><p>This article will explore how Mitosheet, a free Python package, facilitates collaboration between disparate analytic teams to help organizations make data-driven decisions.</p><p><a href="https://www.trymito.io/">Mitosheet homepage</a></p><p><a href="https://docs.trymito.io/getting-started/installing-mito">Install instructions</a></p><p><a href="https://docs.trymito.io/">Documentation</a></p><p><a href="https://github.com/mito-ds/monorepo">Github</a></p><h3>What is Mito?</h3><p>Microsoft Excel may be the oldest and most prolific analytic software created. Most analysts are familiar with at least Excel’s primary functions of filtering, sorting, and pivoting data.</p><p>On the other hand, Python’s capabilities are superior to Excel, but Python is far from the same adoption rate, even though it is currently the most popular coding language. What if we could have the best of both worlds?</p><p>This is where Mitosheet comes in — it is a free Excel-style Python widget that empowers users to analyze big data effortlessly without coding. Mimicking Excel’s user experience, users can similarly interact with data at scale. Where Excel maxes out at ~1M rows, Mito has no limit. Plus, advanced analytics, such as machine learning, can easily be applied since the data remains in Python.</p><p>Below is a glimpse of interacting with a Python dataframe using Mitosheet like one would an Excel spreadsheet. You can find more examples at the end of this article.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*RM7aBilVyQtYp1wH" /><figcaption>Example of Mitosheet’s layout.</figcaption></figure><h3>How does Mito empower collaboration?</h3><p>Collaboration is the key to actionable analytics as different teams can contribute different strengths. One group may have more sophisticated analytic skills, another may be subject matter experts, and another may be best suited to operationalize the analysis. These teams need to collaborate even if they have different analytic tools or capabilities.</p><p>Mito overcomes those hurdles to bridge the gap between teams.</p><p>First, Python and Mito are free! Not every team can afford the hefty price tag of Alteryx, Talend, or similar tools. Even cheaper tools like Tableau will likely require involvement from procurement, accounts payable, and IT departments. These hurdles can result in different teams using different tools. Since it’s a free Python package, Mito removes all barriers by not requiring budget dollars or likely involvement from other departments. Python and Mito are easily accessible to all!</p><p>Second, Mito offers accelerated time to value with a natural and commonplace user experience. Nearly no instruction is needed if the user has Excel or Google Sheets experience. Analysts will immediately feel right at home when using Mito!</p><p>Third, Mito produces insightfully marked-down Python code with each click. This code is easily accessible right below the interface. It can be copied and pasted, edited, and shared between collaborators.</p><h3>Collaboration in practice with Mito</h3><p>Let’s see how Mito could help a pricing department needing to generate $20M in gross profit by year-end. Unfortunately, their analytics are limited by having only Excel 2013. To achieve this goal, they will need far more data than they’re used to analyzing. The CFO asks an advanced analytics team to help out, but the teams don’t have the same tools or acumen.</p><p>Mito is perfect for bridging the gap between the two teams.</p><p>The advanced analytics team engineers the required data without concern for data size. Armed with Mito, the pricing team fearlessly dives into the data. They use Mito with little instruction since the Excel-style widget is a natural way for them to interact with data.</p><p>Without needing to know Python, the pricing team can effortlessly import and query the data despite it being millions of rows. Every detail needed to make the best pricing decisions possible is now at their fingertips. As pricing requests come in, the team can effortlessly pivot, filter, sort, and chart the data in near real-time.</p><p>Over time, the pricing team develops consistently helpful analyses. With each analysis, Mito produces shareable marked-down Python code. The pricing team can share the code with IT to operationalize the data refresh, analyses, and distribution. By sharing the code, IT saves development time and effort.</p><p>With this descriptive analysis in hand, the pricing team can now re-engage with the advanced analytics team. A machine learning Python model is needed to scale beyond manual ad hoc analyses.</p><p>The advanced analytics team can collaboratively model since the original analysis is in Python already. Although the pricing team never needed to code, they became familiar with Python since Mito produced the code below the interface. Now they have the foundation to learn more advanced machine learning coding techniques.</p><p>This is just one example of how Mito can empower collaboration across analytic teams with different analytical tools and acumen.</p><h3>Mitosheet: Empowering Collaboration</h3><p>Mito offers many capabilities to make analysts more productive. However, its ability to empower collaboration between teams may be its most valuable feature. Mito clears the hurdles of analytic teams working collaboratively. Mito allows all analytical groups to effectively collaborate so that the business can rapidly action comprehensive insights.</p><h3>Mitosheet Functionality</h3><p>Below are just a few examples of Mitosheet’s powerful, intuitive functionality.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*LCkXJPPOfDvpUdmD" /><figcaption>Example of concatenating dataframes.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*G7b_0vtiHlOpr4qr" /><figcaption>Example of formatting dataframe columns.</figcaption></figure><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fd5ybBvey7mk%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dd5ybBvey7mk&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fd5ybBvey7mk%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/55f96c695bcea29dfc02e0ebd471188b/href">https://medium.com/media/55f96c695bcea29dfc02e0ebd471188b/href</a></iframe><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FgL8qZ-qslcI%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DgL8qZ-qslcI&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FgL8qZ-qslcI%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/b284d7432da347a1639f49854aaa8c94/href">https://medium.com/media/b284d7432da347a1639f49854aaa8c94/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=20c9b7b0cbf" width="1" height="1" alt=""><hr><p><a href="https://medium.com/trymito/mitosheet-empowering-collaboration-20c9b7b0cbf">Mitosheet: Enabling Collaboration</a> was originally published in <a href="https://medium.com/trymito">trymito</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>