Skip to content
Back to Guavy Wire
Stocks

Reshaping Datasets with Python in Excel

Instruments
MSFT
Share

Tony Phillips, an experienced Microsoft Office user and writer for How-to Geek, shares his expertise in reshaping datasets in Excel.

Phillips explains that he's particular about dataset structure because it makes his life easier down the line. He's used to working with wide data, but prefers long data where each column represents a field and each row represents a record.

To transform his 'wide' weather dataset into 'long' format, Phillips uses Python code directly in Excel. The process is called unpivoting, which can also be achieved through Power Query's Unpivot Columns command.

More on Stocks

Disclaimer: Guavy is a data and market intelligence provider, not an investment adviser. The information, signals, and market analysis provided by the Guavy API and related services are for informational purposes only and are not intended as financial advice, investment recommendations, or an endorsement of any particular trading strategy. Trading in volatile markets, including cryptocurrency, carries significant risk and may not be suitable for all investors. Past performance is not indicative of future results. Users should consult with a qualified financial professional before making any investment decisions. Guavy makes no guarantee of trading profits or financial returns.

Market sentiment intelligence for apps, funds & agents

Location

729 55 Ave SW
Calgary AB T2V 0G4
Canada

© 2026 Guavy Inc