title: Python Upload data frame on google cloud storage
body: <p>I have a dataset and i select some specific data frame from it .i want to store it into cloud. Can anyone tell me what is the procedure. from where I have to buy bucket or create bucket. I saw many codes available here but don't know how to create bucket.</p>
  <pre><code>import socket
  import pickle
  import pandas as pd
  df = pd.read_csv(r&quot;C:\Users\DELL\OneDrive\Desktop\mythesisdataset.csv&quot;,
                   names=[ 'SBP', 'DBP', 'HEARTRATE', &quot;Temperature&quot; ])
  Time_sensitive_df = (df [ (df [ 'SBP' ] &gt; 150) &amp; (df [ 'DBP' ] &gt; 80) &amp; (df [ 'HEARTRATE' ] &gt; 100) &amp; (df [ 'Temperature' ] &gt; 100) ])
  normal_df = (df [ (df.SBP &gt; 120) &amp; (df.DBP &gt; 90) &amp; (df.HEARTRATE &lt; 100) &amp; (df [ 'Temperature' ] &lt; 100) ])
  s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
  if len(df [ (df [ 'SBP' ] &gt; 150) &amp; (df [ 'DBP' ] &gt; 80) &amp; (df [ 'HEARTRATE' ] &gt; 100) &amp; (
          df [ 'Temperature' ] &gt; 100) ]) &gt; 0:
      print('\n Alert :\n', Time_sensitive_df)
  else:
      print('\n Normal Condition :\n', normal_df)
  </code></pre>