Demo entry 6756905

Ok

   

Submitted by anonymous on Aug 06, 2018 at 01:05
Language: Python 3. Code size: 118 Bytes.

import pandas as pd

data_dict = {7: 'a', 6: 'b', 11: 'c', 9: 'd'}
explicitly_indexed_series = pd.Series(data_dict)

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).